Skip to content

Commit

Permalink
docs: highlight BACKWARDS INCOMPATIBILITY
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Dec 28, 2015
1 parent 156968b commit f90e87a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Version 0.8 (2015-12-28)
------------------------

* Added Django 1.9 compatibility.

**NOTE:** The import paths have changed. Instead of ``from polymorphic import X``,
* Renamed ``polymorphic.manager`` => ``polymorphic.managers`` for consistentcy.
* **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:

.. code-block:: python
Expand All @@ -15,9 +16,8 @@ you'll have to import from the proper package. For example:
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.
* **BACKWARDS INCOMPATIBILITY:** Removed ``__version__.py`` in favor of a standard ``__version__`` in ``polymorphic/__init__.py``.
* **BACKWARDS INCOMPATIBILITY:** Removed automatic proxying of method calls to the queryset class.
Use the standard Django methods instead:

.. code-block:: python
Expand All @@ -29,6 +29,7 @@ you'll have to import from the proper package. For example:
MyCustomManager = PolymorphicManager.from_queryset(MyCustomQuerySet)
Version 0.7.2 (2015-10-01)
--------------------------

Expand Down

0 comments on commit f90e87a

Please sign in to comment.