Release v1.3.1
parent
8f7f255580
commit
31dd8b6138
|
|
@ -1,6 +1,28 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
Version 1.3.1 (2018-04-16)
|
||||
--------------------------
|
||||
|
||||
Backported various fixes from 2.x to support older Django versions:
|
||||
|
||||
* 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.
|
||||
The ``polymorphic.utils.reset_polymorphic_ctype`` function can be used for that.
|
||||
* Added ``PolymorphicTypeInvalid`` exception when database was incorrectly imported.
|
||||
* 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 ``.filter(applabel__ModelName___field=...)`` lookups.
|
||||
* Fixed proxy model support in formsets.
|
||||
* Fixed error with .defer and child models that use the same parent.
|
||||
* Fixed error message when ``polymorphic_ctype_id`` is null.
|
||||
* Fixed fieldsets recursion in the admin.
|
||||
* Improved ``polymorphic.utils.reset_polymorphic_ctype()`` to accept models in random ordering.
|
||||
|
||||
|
||||
Version 1.3 (2017-08-01)
|
||||
------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = '1.3.1'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.3'
|
||||
release = '1.3.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ Please see LICENSE and AUTHORS for more information.
|
|||
"""
|
||||
|
||||
# See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
|
||||
__version__ = "1.3"
|
||||
__version__ = "1.3.1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue