summaryrefslogtreecommitdiff
path: root/docs/releases/3.1.2.txt
blob: 7788970d08f1721d117e449a5e8338a6ae251ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
==========================
Django 3.1.2 release notes
==========================

*Expected October 1, 2020*

Django 3.1.2 fixes several bugs in 3.1.1.

Bugfixes
========

* Fixed a bug in Django 3.1 where ``FileField`` instances with a callable
  storage were not correctly deconstructed (:ticket:`31941`).

* Fixed a regression in Django 3.1 where the :attr:`.QuerySet.ordered`
  attribute returned incorrectly ``True`` for ``GROUP BY`` queries (e.g.
  ``.annotate().values()``) on models with ``Meta.ordering``. A model's
  ``Meta.ordering`` doesn't affect such queries (:ticket:`31990`).

* Fixed a regression in Django 3.1 where a queryset would crash if it contained
  an aggregation and a ``Q`` object annotation (:ticket:`32007`).

* Fixed a bug in Django 3.1 where a test database was not synced during
  creation when using the :setting:`MIGRATE <TEST_MIGRATE>` test database
  setting (:ticket:`32012`).

* Fixed a ``django.contrib.admin.EmptyFieldListFilter`` crash when using on a
  ``GenericRelation`` (:ticket:`32038`).

* Fixed a regression in Django 3.1.1 where the admin changelist filter sidebar
  would not scroll for a long list of available filters (:ticket:`31986`).