2020-08-04 16:34:38 +08:00
|
|
|
==========================
|
|
|
|
Django 3.1.1 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Expected September 1, 2020*
|
|
|
|
|
|
|
|
Django 3.1.1 fixes several bugs in 3.1.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2020-08-05 14:01:24 +08:00
|
|
|
* Fixed wrapping of translated action labels in the admin's navigation sidebar
|
|
|
|
for East Asian languages (:ticket:`31853`).
|
2020-08-05 15:11:06 +08:00
|
|
|
|
|
|
|
* Fixed wrapping of long model names in the admin's navigation sidebar
|
|
|
|
(:ticket:`31854`).
|
2020-08-08 03:42:39 +08:00
|
|
|
|
|
|
|
* Fixed encoding session data while upgrading multiple instances of the same
|
|
|
|
project to Django 3.1 (:ticket:`31864`).
|
2020-08-11 16:11:42 +08:00
|
|
|
|
|
|
|
* Adjusted admin's navigation sidebar template to reduce debug logging when
|
|
|
|
rendering (:ticket:`31865`).
|
2020-08-08 13:17:36 +08:00
|
|
|
|
|
|
|
* Fixed a data loss possibility in the
|
|
|
|
:meth:`~django.db.models.query.QuerySet.select_for_update()`. When using
|
|
|
|
related fields pointing to a proxy model in the ``of`` argument, the
|
|
|
|
corresponding model was not locked (:ticket:`31866`).
|
2020-08-12 19:19:46 +08:00
|
|
|
|
2020-08-13 22:29:55 +08:00
|
|
|
* Fixed a data loss possibility, following a regression in Django 2.0, when
|
|
|
|
copying model instances with a cached fields value (:ticket:`31863`).
|
2020-08-19 18:06:00 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 3.1 that caused a crash when decoding an invalid
|
|
|
|
session data (:ticket:`31895`).
|
2020-08-24 15:00:12 +08:00
|
|
|
|
|
|
|
* Reverted a deprecation in Django 3.1 that caused a crash when passing
|
|
|
|
deprecated keyword arguments to a queryset in
|
|
|
|
``TemplateView.get_context_data()`` (:ticket:`31877`).
|
2020-08-21 00:41:22 +08:00
|
|
|
|
|
|
|
* Enforced thread sensitivity of the :class:`MiddlewareMixin.process_request()
|
|
|
|
<django.utils.deprecation.MiddlewareMixin>` and ``process_response()`` hooks
|
|
|
|
when in an async context (:ticket:`31905`).
|