From 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 4 Jan 2020 20:49:11 +0100 Subject: Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Sigurd Ljødal for the report. --- docs/releases/3.0.3.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/3.0.3.txt b/docs/releases/3.0.3.txt index ecc5ba9294..61ef456d93 100644 --- a/docs/releases/3.0.3.txt +++ b/docs/releases/3.0.3.txt @@ -12,3 +12,7 @@ Bugfixes * Fixed a regression in Django 3.0 that caused a crash when subtracting ``DateField``, ``DateTimeField``, or ``TimeField`` from a ``Subquery()`` annotation (:ticket:`31133`). + +* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and + ``values_list()`` crashed if a queryset contained an aggregation and + ``Exists()`` annotation (:ticket:`31136`). -- cgit v1.3