docs: highlight BACKWARDS INCOMPATIBILITY

fix_request_path_info
Diederik van der Boor 2015-12-28 17:34:25 +01:00
parent 156968b12b
commit f90e87afcc
1 changed files with 6 additions and 5 deletions

View File

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