- official support for Django 2.2
- replace
future
dependency bysix
- official support for Python 3.7 and Django 2.1
- correct inability fo
Auto*Choices
be able to have subsets - Auto*Choices can accept entries with forced value/display
- additional attributes are now correctly (un)pickled
- additional attributes are now also accessible from constant/value/display
- add
AutoChoices
andAutoDisplayChoices
- document the fourth argument to tuples to pass additional attributes
- remove support for Python 3.3
- add support for Django 2.0
- add
__all__
at package root - supports Django 1.8, 1.9, 1.10 and 1.11
- follow the latests django/python support matrix
- tested on travis via tox (tests, pep8 validation and code coverage)
- make
OrderedChoices
available at the package root
- add the
extract_subset
method - add the
OrderedChoices
subclass - add support for Django 1.10
- drop retro-compatibility support
- ensure falsy values are considered as so
- add compatibility with "display" values set using
ugettext_lazy
- add compatibility with the
pickle
module
- explicitly raise
ValueError
when usingNone
for constant, value or display name.
- make it work again with Django
ugettext_lazy
- remove support for Django 1.4
- change License from GPL to BSD
- full rewrite
- new API
- still compatible 0.4.1