Bump version to 2.0.

This commit is contained in:
Carl Meyer 2014-01-06 18:22:24 -07:00
parent 5e39bcd756
commit 6b4a900ca0
2 changed files with 10 additions and 10 deletions

View file

@ -1,8 +1,15 @@
CHANGES
=======
master (unreleased)
-------------------
2.0 (2014.01.06)
----------------
* BACKWARDS-INCOMPATIBLE: Indexing into a ``Choices`` instance now translates
database representations to human-readable choice names, rather than simply
indexing into an array of choice tuples. (Indexing into ``Choices`` was
previously not documented.) If you have code that is relying on indexing or
slicing ``Choices``, the simplest workaround is to change e.g. ``STATUS[1:]``
to ``list(STATUS)[1:]``.
* Fixed bug with checking for field name conflicts for added query managers on
`StatusModel`.
@ -19,13 +26,6 @@ master (unreleased)
* `get_subclass()` method is now available on both managers and
querysets. Thanks Travis Swicegood. Merge of GH-82.
* BACKWARDS-INCOMPATIBLE: Indexing into a ``Choices`` instance now translates
database representations to human-readable choice names, rather than simply
indexing into an array of choice tuples. (Indexing into ``Choices`` was
previously not documented.) If you have code that is relying on indexing or
slicing ``Choices``, the simplest workaround is to change e.g. ``STATUS[1:]``
to ``list(STATUS)[1:]``.
* Fix bug in `InheritanceManager` with grandchild classes on Django 1.6+;
`select_subclasses('child', 'child__grandchild')` would only ever get to the
child class. Thanks Keryn Knight for report and proposed fix.

View file

@ -1,4 +1,4 @@
from .choices import Choices
from .tracker import FieldTracker, ModelTracker
__version__ = '1.5.0.post1'
__version__ = '2.0'