From ab951d242e3de232c7fc9a2f6facfd6aa95f5fe2 Mon Sep 17 00:00:00 2001 From: Christian Klus Date: Tue, 27 Oct 2020 13:13:10 -0500 Subject: [3.1.x] Fixed #32152 -- Fixed grouping by subquery aliases. Regression in 42c08ee46539ef44f8658ebb1cbefb408e0d03fe. Thanks Simon Charette for the review. Backport of 4ac2d4fa42e1659f328c35b6b8d4761b3419c11a from master --- docs/releases/3.0.11.txt | 9 ++++++++- docs/releases/3.1.3.txt | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/3.0.11.txt b/docs/releases/3.0.11.txt index a5009feb51..1dcf37a517 100644 --- a/docs/releases/3.0.11.txt +++ b/docs/releases/3.0.11.txt @@ -4,4 +4,11 @@ Django 3.0.11 release notes *Expected November 2, 2020* -Django 3.0.11 adds compatibility with Python 3.9. +Django 3.0.11 fixes a regression in 3.0.7 and adds compatibility with Python +3.9. + +Bugfixes +======== + +* Fixed a regression in Django 3.0.7 that didn't use ``Subquery()`` aliases in + the ``GROUP BY`` clause (:ticket:`32152`). diff --git a/docs/releases/3.1.3.txt b/docs/releases/3.1.3.txt index ce6cf962c7..6e13da1e78 100644 --- a/docs/releases/3.1.3.txt +++ b/docs/releases/3.1.3.txt @@ -57,3 +57,6 @@ Bugfixes * 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`). + +* Fixed a regression in Django 3.0.7 that didn't use ``Subquery()`` aliases in + the ``GROUP BY`` clause (:ticket:`32152`). -- cgit v1.3