docs: update changelog on how to to port to 0.8

fix_request_path_info
Diederik van der Boor 2015-12-28 17:18:40 +01:00
parent 009069a32b
commit 7d4f9dd9ae
1 changed files with 28 additions and 0 deletions

View File

@ -1,6 +1,34 @@
Changelog
==========
Version 0.8 (2015-12-28)
------------------------
* Added Django 1.9 compatibility.
**NOTE:** The import paths have changed. Instead of ``from polymorphic import X``,
you'll have to import from the proper package. For example:
.. code-block:: python
polymorphic.models import PolymorphicModel
polymorphic.managers import PolymorphicManager, PolymorphicQuerySet
polymorphic.showfields import ShowFieldContent, ShowFieldType, ShowFieldTypeAndContent
* Removed ``__version__.py`` in favor of a standard ``__version__`` in ``polymorphic/__init__.py``.
* Renamed ``polymorphic.manager`` => ``polymorphic.managers`` for consistentcy.
* Removed automatic proxying of method calls to the queryset class.
Use the standard Django methods instead:
.. code-block:: python
# In model code:
objects = PolymorphicQuerySet.as_manager()
# For manager code:
MyCustomManager = PolymorphicManager.from_queryset(MyCustomQuerySet)
Version 0.7.2 (2015-10-01)
--------------------------