diff --git a/.travis.yml b/.travis.yml index 27fe0b8..b1c326b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: python python: - - "3.5" + - "3.6" - "2.7" - "pypy" env: - "$DJANGO='django<1.9'" - - "$DJANGO='django<1.10'" + - "$DJANGO='django<2.0'" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: diff --git a/HISTORY.rst b/HISTORY.rst index f917f6b..b30ddd0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,13 @@ History ------- +0.2.0 (2017-04-25) +~~~~~~~~~~~~~~~~~~ + +* Added ``RoundedDecimalField`` for rounding off decimal to specified ``decimal_places`` + instead of validing that higher precision is not allowed +* Added ``URLField`` for automatic mapping between django forms and DRF serializers + 0.1.6 (2016-02-29) ~~~~~~~~~~~~~~~~~~ diff --git a/drf_braces/__init__.py b/drf_braces/__init__.py index 4754e68..85d65b7 100755 --- a/drf_braces/__init__.py +++ b/drf_braces/__init__.py @@ -4,4 +4,4 @@ __author__ = 'Miroslav Shubernetskiy' __email__ = 'miroslav@miki725.com' -__version__ = '0.1.6' +__version__ = '0.2.0' diff --git a/tests/urls.py b/tests/urls.py index 4fa9416..0a48d4d 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -1,9 +1,5 @@ # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals -from django.conf.urls import patterns - -urlpatterns = patterns( - '', -) +urlpatterns = [] diff --git a/tox.ini b/tox.ini index 1daeb5c..ccbfa17 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] envlist = - {py27,py35,pypy}-django{18,19}-drf{32,33} + {py27,py36,pypy}-django{18,11}-drf{32,latest} [testenv] basepython = py27: python2.7 py34: python3.4 - py35: python3.5 + py36: python3.6 pypy: pypy pypy3: pypy3 setenv = @@ -16,11 +16,9 @@ commands = pip freeze make check deps = - django16: django<1.7 - django17: django<1.8 django18: django<1.9 - django19: django<1.10 + django11: django<2.0 drf32: djangorestframework<3.3 - drf33: djangorestframework + drflatest: djangorestframework whitelist_externals = make