Bumped to 2.0
parent
9d651a1cdb
commit
fa3b874a54
|
|
@ -1,8 +1,8 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
Changes in git
|
Changes in 2.0 (2018-01-22)
|
||||||
--------------
|
---------------------------
|
||||||
|
|
||||||
* **BACKWARDS INCOMPATIBILITY:** Dropped Django 1.8 and 1.10 support.
|
* **BACKWARDS INCOMPATIBILITY:** Dropped Django 1.8 and 1.10 support.
|
||||||
* **BACKWARDS INCOMPATIBILITY:** Removed old deprecated code from 1.0, thus:
|
* **BACKWARDS INCOMPATIBILITY:** Removed old deprecated code from 1.0, thus:
|
||||||
|
|
@ -11,7 +11,7 @@ Changes in git
|
||||||
* Register child models to the admin as well using ``@admin.register()`` or ``admin.site.register()``,
|
* Register child models to the admin as well using ``@admin.register()`` or ``admin.site.register()``,
|
||||||
as this is no longer done automatically.
|
as this is no longer done automatically.
|
||||||
|
|
||||||
* Django 2.0 support.
|
* Added Django 2.0 support.
|
||||||
* Added ``PolymorphicTypeUndefined`` exception for incomplete imported models.
|
* Added ``PolymorphicTypeUndefined`` exception for incomplete imported models.
|
||||||
When a data migration or import creates an polymorphic model,
|
When a data migration or import creates an polymorphic model,
|
||||||
the ``polymorphic_ctype_id`` field should be filled in manually too.
|
the ``polymorphic_ctype_id`` field should be filled in manually too.
|
||||||
|
|
@ -20,7 +20,7 @@ Changes in git
|
||||||
* Added ``polymorphic.utils.get_base_polymorphic_model()`` to find the base model for types.
|
* Added ``polymorphic.utils.get_base_polymorphic_model()`` to find the base model for types.
|
||||||
* Using ``base_model`` on the polymorphic admins is no longer required, as this can be autodetected.
|
* Using ``base_model`` on the polymorphic admins is no longer required, as this can be autodetected.
|
||||||
* Fixed manager errors for swappable models.
|
* Fixed manager errors for swappable models.
|
||||||
* Fixed deleteText of ``|as_script_options`` template filter.
|
* Fixed ``deleteText`` of ``|as_script_options`` template filter.
|
||||||
* Fixed ``.filter(applabel__ModelName___field=...)`` lookups.
|
* Fixed ``.filter(applabel__ModelName___field=...)`` lookups.
|
||||||
* Improved ``polymorphic.utils.reset_polymorphic_ctype()`` to accept models in random ordering.
|
* Improved ``polymorphic.utils.reset_polymorphic_ctype()`` to accept models in random ordering.
|
||||||
* Fix fieldsets handling in the admin (``declared_fieldsets`` is removed since Django 1.9)
|
* Fix fieldsets handling in the admin (``declared_fieldsets`` is removed since Django 1.9)
|
||||||
|
|
|
||||||
|
|
@ -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 = '1.3'
|
version = '2.0'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '1.3'
|
release = '2.0'
|
||||||
|
|
||||||
# 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 = 1.3
|
version = 2.0
|
||||||
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