Bump to v2.0.2
parent
ea53b995a1
commit
78682d2022
|
|
@ -1,16 +1,24 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
Changes in 2.0.2 (2018-02-05)
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
* Fixed manager inheritance behavior for Django 1.11, by automatically enabling ``Meta.manager_inheritance_from_future`` if it's not defined.
|
||||||
|
This restores the manager inheritance behavior that *django-polymorphic 1.3* provided for Django 1.x projects.
|
||||||
|
* Fixed internal ``base_objects`` usage.
|
||||||
|
|
||||||
|
|
||||||
Changes in 2.0.1 (2018-02-05)
|
Changes in 2.0.1 (2018-02-05)
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
* Fixed manager inheritance detection for Django 1.11.
|
* Fixed manager inheritance detection for Django 1.11.
|
||||||
|
|
||||||
It's recommended to use ``Meta.manager_inheritance_from_future`` so Django 1.x code also inherits
|
It's recommended to use ``Meta.manager_inheritance_from_future`` so Django 1.x code also inherit
|
||||||
the ``PolymorphicManager`` in all subclasses. Django 2.0 already does this by default.
|
the ``PolymorphicManager`` in all subclasses. Django 2.0 already does this by default.
|
||||||
This restores the manager inheritance behavior that *django-polymorphic 1.3* enforced for Django 1.x projects.
|
|
||||||
|
|
||||||
* Deprecated the ``base_objects`` manager. Use ``objects.non_polymorphic()`` instead.
|
* Deprecated the ``base_objects`` manager. Use ``objects.non_polymorphic()`` instead.
|
||||||
|
* Optimized detection for dumpdata behavior, avoiding the performance hit of ``__getattribute__()``.
|
||||||
* Fixed test management commands
|
* Fixed test management commands
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,9 +61,9 @@ copyright = u'2013, Bert Constantin, Chris Glass, Diederik van der Boor'
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '2.0.1'
|
version = '2.0.2'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '2.0.1'
|
release = '2.0.2'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = django-polymorphic
|
name = django-polymorphic
|
||||||
version = 2.0.1
|
version = 2.0.2
|
||||||
description = Seamless polymorphic inheritance for Django models
|
description = Seamless polymorphic inheritance for Django models
|
||||||
long_description = file:README.rst
|
long_description = file:README.rst
|
||||||
author = Bert Constantin
|
author = Bert Constantin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue