Bump to v2.1
parent
59c020ee50
commit
3422dee676
|
|
@ -1,20 +1,22 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
Changes in 2.1 (tbd)
|
Changes in 2.1 (2019-07-15)
|
||||||
--------------------
|
---------------------------
|
||||||
|
|
||||||
* Added Django 2.2 support.
|
* Added Django 2.2 support.
|
||||||
* Change iterable class for ``.non_polymorphic()``, to completely cirvumvent polymorphic.
|
* Changed ``.non_polymorphic()``, to use a different iterable class that completely cirvumvent polymorphic.
|
||||||
|
* Changed SQL for ``instance_of`` filter: use ``IN`` statement instead of ``OR`` clauses.
|
||||||
|
* Changed queryset iteration to implement ``prefetch_related()`` support.
|
||||||
* Fixed Django 3.0 alpha compatibility.
|
* Fixed Django 3.0 alpha compatibility.
|
||||||
* Fixed compatibility with current django-extra-views_ in ``polymorphic.contrib.extra_views``.
|
* Fixed compatibility with current django-extra-views_ in ``polymorphic.contrib.extra_views``.
|
||||||
* Fixed missing hiding of the add-button of polymorphic lines in the Django admin.
|
* Fixed ``prefetch_related()`` support on polymorphic M2M relations.
|
||||||
* Fixed model subclass ``___`` selector for abstract/proxy models.
|
* Fixed model subclass ``___`` selector for abstract/proxy models.
|
||||||
* Fixed model subclass ``___`` selector for models with a custom ``OneToOneField(parent_link=True)``.
|
* Fixed model subclass ``___`` selector for models with a custom ``OneToOneField(parent_link=True)``.
|
||||||
* Fixed unwanted results on calling ``queryset.get_real_instances([])``.
|
* Fixed unwanted results on calling ``queryset.get_real_instances([])``.
|
||||||
* Fixed ``prefetch_related()`` support.
|
|
||||||
* Fixed unwanted ``TypeError`` exception when ``PolymorphicTypeInvalid`` should have raised.
|
* Fixed unwanted ``TypeError`` exception when ``PolymorphicTypeInvalid`` should have raised.
|
||||||
* Optimized SQL for ``instance_of`` filter: use ``IN`` statement instead of ``OR`` clauses.
|
* Fixed hiding the add-button of polymorphic lines in the Django admin.
|
||||||
|
* Reformatted all files with black
|
||||||
|
|
||||||
|
|
||||||
Changes in 2.0.3 (2018-08-24)
|
Changes in 2.0.3 (2018-08-24)
|
||||||
|
|
|
||||||
|
|
@ -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.3"
|
version = "2.1"
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = "2.0.3"
|
release = "2.1"
|
||||||
|
|
||||||
# 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.3
|
version = 2.1
|
||||||
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