-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use `SubfieldBase` for `ChoiceField` if cannot be imported (deprecated in Django 1.8, removed in Django 1.10)
- Loading branch information
Mateusz Kurek
committed
Oct 20, 2016
1 parent
3f7df6d
commit 5c519ca
Showing
7 changed files
with
77 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
|
||
setup ( | ||
name = 'dj.choices', | ||
version = '0.10.0', | ||
version = '0.11.0', | ||
author = '\xc5\x81ukasz Langa', | ||
author_email = '[email protected]', | ||
description = "An enum implementation for Django forms and models.", | ||
|
@@ -57,12 +57,11 @@ | |
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,19 @@ | ||
[tox] | ||
envlist = py26-django13,py26-django14,py26-django15,py26-django16,py27-django13,py27-django14,py27-django15,py27-django16,py27-django17,py34-django15,py34-django16,py34-django17 | ||
envlist = | ||
{py27,py34,py35}-django{18,19,110}, | ||
{py27,py34}-django{16,17}, | ||
{py27}-django{14,15}, | ||
|
||
[testenv] | ||
# deps=pytest | ||
commands = | ||
commands = | ||
{envbindir}/django-admin.py test | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=dj._choicestestproject.settings | ||
|
||
[testenv:py26-django13] | ||
basepython = python2.6 | ||
deps = | ||
Django==1.3.7 | ||
unittest2 | ||
|
||
[testenv:py26-django14] | ||
basepython = python2.6 | ||
deps = | ||
Django==1.4.15 | ||
unittest2 | ||
|
||
[testenv:py26-django15] | ||
basepython = python2.6 | ||
deps = | ||
Django==1.5.10 | ||
unittest2 | ||
|
||
[testenv:py26-django16] | ||
basepython = python2.6 | ||
deps = | ||
Django==1.6.7 | ||
unittest2 | ||
|
||
[testenv:py27-django13] | ||
basepython = python2.7 | ||
deps = | ||
Django==1.3.7 | ||
|
||
[testenv:py27-django14] | ||
basepython = python2.7 | ||
deps = | ||
Django==1.4.15 | ||
|
||
[testenv:py27-django15] | ||
basepython = python2.7 | ||
deps = | ||
Django==1.5.10 | ||
|
||
[testenv:py27-django16] | ||
basepython = python2.7 | ||
deps = | ||
Django==1.6.7 | ||
|
||
[testenv:py27-django17] | ||
basepython = python2.7 | ||
deps = | ||
Django==1.7 | ||
|
||
[testenv:py34-django15] | ||
basepython = python3.4 | ||
deps = | ||
Django==1.5.10 | ||
|
||
[testenv:py34-django16] | ||
basepython = python3.4 | ||
deps = | ||
Django==1.6.7 | ||
|
||
[testenv:py34-django17] | ||
basepython = python3.4 | ||
deps = | ||
Django==1.7 | ||
django14: Django==1.4.22 | ||
django15: Django==1.5.12 | ||
django16: Django==1.6.11 | ||
django17: Django==1.7.11 | ||
django18: Django==1.8.15 | ||
django19: Django==1.9.10 | ||
django110: Django==1.10.2 |