Skip to content

Commit

Permalink
Bump to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Nov 18, 2021
1 parent 5b9acd1 commit 902727d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
21 changes: 21 additions & 0 deletions docs/changelog.rst
@@ -1,13 +1,33 @@
Changelog
=========

Changes in 3.1 (2021-11-18)
---------------------------

* Added support for Django 4.0.
* Fixed crash when the admin "add type" view has no choices; will show a permission denied.
* Fixed missing ``locale`` folder in sdist.
* Fixed missing ``QuerySet.bulk_create(.., ignore_conflicts=True)`` parameter support.
* Fixed ``FilteredRelation`` support.
* Fixed supporting class keyword arguments in model definitions for ``__init_subclass__()``.
* Fixed including ``polymorphic.tests.migrations`` in the sdist.
* Fixed non-polymorphic parent handling, which has no ``_base_objects``.
* Fixed missing ``widgets`` support for ``modelform_factory()``.
* Fixed ``has_changed`` handling for ``polymorphic_ctype_id`` due to implicit str to int conversions.
* Fixed ``Q`` object handling when lists are used (e.g. in django-advanced-filters_).
* Fixed Django Admin support when using a script-prefix.

Many thanks to everyone providing clear pull requests!


Changes in 3.0.0 (2020-08-21)
-----------------------------

* Support for Django 3.X
* Dropped support for python 2.X
* A lot of various fixes and improvements by various authors. Thanks a lot!


Changes in 2.1.2 (2019-07-15)
-----------------------------

Expand Down Expand Up @@ -417,6 +437,7 @@ It supports Django 1.1 up till 1.4 and Python 2.4 up till 2.7.
For a detailed list of it's changes, see the :doc:`archived changelog <changelog_archive>`.

.. _Grappelli: http://grappelliproject.com/
.. _django-advanced-filters: https://github.com/modlinltd/django-advanced-filters
.. _django-extra-views: https://github.com/AndrewIngram/django-extra-views
.. _django-guardian: https://github.com/django-guardian/django-guardian
.. _django-parler: https://github.com/django-parler/django-parler
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = "2.1.2"
version = "3.1"
# The full version, including alpha/beta/rc tags.
release = "2.1.2"
release = "3.1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 1 addition & 2 deletions docs/quickstart.rst
Expand Up @@ -12,8 +12,7 @@ Update the settings file::
'django.contrib.contenttypes',
)

The current release of *django-polymorphic* supports Django 1.11, 2.0, 2.1, 2.2 and Python 2.7 and 3.5+ is supported.
For older Django versions, use *django-polymorphic==1.3*.
The current release of *django-polymorphic* supports Django 2.2 - 4.0 and Python 3.6+.

Making Your Models Polymorphic
------------------------------
Expand Down
7 changes: 4 additions & 3 deletions setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = django-polymorphic
version = 3.0.0
version = 3.1.0
description = Seamless polymorphic inheritance for Django models
long_description = file:README.rst
author = Bert Constantin
Expand All @@ -14,19 +14,20 @@ classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Framework :: Django :: 3.0
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Database

[options]
Expand Down

0 comments on commit 902727d

Please sign in to comment.