summaryrefslogtreecommitdiff
path: root/docs/releases/3.1.2.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-15 11:40:59 +0200
committerGitHub <noreply@github.com>2020-09-15 11:40:59 +0200
commiteaf9764d3bb25970da89de5799d8d308715628ba (patch)
tree3bb6ad00878ce5bfbc65e0ae33c9604df820af4b /docs/releases/3.1.2.txt
parent7be6a6a4d665061e8bc6a741b16ff92353f5d19e (diff)
Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.
Thanks Gordon Wrigley for the report. Regression in 8a6df55f2dd5131282084a4edfd48f63fbf8c69a.
Diffstat (limited to 'docs/releases/3.1.2.txt')
-rw-r--r--docs/releases/3.1.2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/3.1.2.txt b/docs/releases/3.1.2.txt
index f9e45370ab..fa820c78ee 100644
--- a/docs/releases/3.1.2.txt
+++ b/docs/releases/3.1.2.txt
@@ -16,3 +16,6 @@ Bugfixes
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`).