From fa3b874a54b9d0656d7574919fb6799e1c7d393c Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Mon, 22 Jan 2018 10:18:51 +0100 Subject: [PATCH] Bumped to 2.0 --- docs/changelog.rst | 8 ++++---- docs/conf.py | 4 ++-- setup.cfg | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ded13c1..f843587 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,8 +1,8 @@ Changelog ========= -Changes in git --------------- +Changes in 2.0 (2018-01-22) +--------------------------- * **BACKWARDS INCOMPATIBILITY:** Dropped Django 1.8 and 1.10 support. * **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()``, as this is no longer done automatically. -* Django 2.0 support. +* Added Django 2.0 support. * Added ``PolymorphicTypeUndefined`` exception for incomplete imported models. When a data migration or import creates an polymorphic model, 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. * Using ``base_model`` on the polymorphic admins is no longer required, as this can be autodetected. * 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. * 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) diff --git a/docs/conf.py b/docs/conf.py index b9b053f..20da1fb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,9 +61,9 @@ copyright = u'2013, Bert Constantin, Chris Glass, Diederik van der Boor' # built documents. # # The short X.Y version. -version = '1.3' +version = '2.0' # The full version, including alpha/beta/rc tags. -release = '1.3' +release = '2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3046638..bd42255 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = django-polymorphic -version = 1.3 +version = 2.0 description = Seamless polymorphic inheritance for Django models long_description = file:README.rst author = Bert Constantin