2020-10-01 13:52:45 +08:00
|
|
|
==========================
|
|
|
|
Django 3.1.3 release notes
|
|
|
|
==========================
|
|
|
|
|
2020-11-02 15:35:24 +08:00
|
|
|
*November 2, 2020*
|
2020-10-01 13:52:45 +08:00
|
|
|
|
2020-10-13 14:35:01 +08:00
|
|
|
Django 3.1.3 fixes several bugs in 3.1.2 and adds compatibility with Python
|
|
|
|
3.9.
|
2020-10-01 13:52:45 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2020-10-05 16:10:40 +08:00
|
|
|
* Fixed a regression in Django 3.1.2 that caused the incorrect height of the
|
|
|
|
admin changelist search bar (:ticket:`32072`).
|
2020-10-08 21:51:14 +08:00
|
|
|
|
2020-10-09 03:44:34 +08:00
|
|
|
* Fixed a regression in Django 3.1.2 that caused the incorrect width of the
|
|
|
|
admin changelist search bar on a filtered page (:ticket:`32091`).
|
|
|
|
|
2020-10-08 21:51:14 +08:00
|
|
|
* Fixed displaying Unicode characters in
|
|
|
|
:class:`forms.JSONField <django.forms.JSONField>` and read-only
|
|
|
|
:class:`models.JSONField <django.db.models.JSONField>` values in the admin
|
|
|
|
(:ticket:`32080`).
|
2020-10-12 19:02:12 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused a crash of
|
2020-10-15 13:11:11 +08:00
|
|
|
:class:`~django.contrib.postgres.aggregates.ArrayAgg` and
|
2020-10-12 19:02:12 +08:00
|
|
|
:class:`~django.contrib.postgres.aggregates.StringAgg` with ``ordering``
|
|
|
|
on key transforms for :class:`~django.db.models.JSONField` (:ticket:`32096`).
|
2020-10-13 17:35:55 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused a crash of ``__in`` lookup when
|
|
|
|
using key transforms for :class:`~django.db.models.JSONField` in the lookup
|
|
|
|
value (:ticket:`32096`).
|
2020-10-14 17:09:49 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused a crash of
|
|
|
|
:class:`~django.db.models.ExpressionWrapper` with key transforms for
|
|
|
|
:class:`~django.db.models.JSONField` (:ticket:`32096`).
|
2020-10-14 19:09:24 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL
|
|
|
|
when adding an
|
|
|
|
:class:`~django.contrib.postgres.constraints.ExclusionConstraint` with key
|
|
|
|
transforms for :class:`~django.db.models.JSONField` in ``expressions``
|
|
|
|
(:ticket:`32096`).
|
2020-10-19 05:01:56 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 where
|
|
|
|
:exc:`ProtectedError.protected_objects <django.db.models.ProtectedError>` and
|
|
|
|
:exc:`RestrictedError.restricted_objects <django.db.models.RestrictedError>`
|
|
|
|
attributes returned iterators instead of :py:class:`set` of objects
|
|
|
|
(:ticket:`32107`).
|
2020-10-20 15:52:04 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1.2 that caused incorrect form input layout on
|
|
|
|
small screens in the admin change form view (:ticket:`32069`).
|
2020-10-22 19:21:14 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that invalidated pre-Django 3.1 password
|
|
|
|
reset tokens (:ticket:`32130`).
|
2020-10-22 15:35:06 +08:00
|
|
|
|
|
|
|
* Added support for ``asgiref`` 3.3 (:ticket:`32128`).
|
2020-10-26 19:43:23 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused incorrect textarea layout on
|
|
|
|
medium-sized screens in the admin change form view with the sidebar open
|
|
|
|
(:ticket:`32127`).
|
2020-10-28 02:13:10 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.0.7 that didn't use ``Subquery()`` aliases in
|
|
|
|
the ``GROUP BY`` clause (:ticket:`32152`).
|