| 1 |
========================== |
| 2 |
Django 3.1.2 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*October 1, 2020* |
| 6 |
|
| 7 |
Django 3.1.2 fixes several bugs in 3.1.1. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a bug in Django 3.1 where ``FileField`` instances with a callable |
| 13 |
storage were not correctly deconstructed (:ticket:`31941`). |
| 14 |
|
| 15 |
* Fixed a regression in Django 3.1 where the :attr:`.QuerySet.ordered` |
| 16 |
attribute returned incorrectly ``True`` for ``GROUP BY`` queries (e.g. |
| 17 |
``.annotate().values()``) on models with ``Meta.ordering``. A model's |
| 18 |
``Meta.ordering`` doesn't affect such queries (:ticket:`31990`). |
| 19 |
|
| 20 |
* Fixed a regression in Django 3.1 where a queryset would crash if it contained |
| 21 |
an aggregation and a ``Q`` object annotation (:ticket:`32007`). |
| 22 |
|
| 23 |
* Fixed a bug in Django 3.1 where a test database was not synced during |
| 24 |
creation when using the :setting:`MIGRATE <TEST_MIGRATE>` test database |
| 25 |
setting (:ticket:`32012`). |
| 26 |
|
| 27 |
* Fixed a ``django.contrib.admin.EmptyFieldListFilter`` crash when using on a |
| 28 |
``GenericRelation`` (:ticket:`32038`). |
| 29 |
|
| 30 |
* Fixed a regression in Django 3.1.1 where the admin changelist filter sidebar |
| 31 |
would not scroll for a long list of available filters (:ticket:`31986`). |