summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-03-19 19:54:36 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-25 09:13:46 +0100
commit10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c (patch)
tree09b420dec27793cbf1e0161ef0c85a512f7253cd /docs
parent895f28f9cbed817c00ab68770433170d83132d90 (diff)
Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Holovashchenko Vadym for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.0.5.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/3.0.5.txt b/docs/releases/3.0.5.txt
index 43b7bfe08f..423ec809cd 100644
--- a/docs/releases/3.0.5.txt
+++ b/docs/releases/3.0.5.txt
@@ -11,3 +11,7 @@ Bugfixes
* Added the ability to handle ``.po`` files containing different plural
equations for the same language (:ticket:`30439`).
+
+* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
+ ``values_list()`` crashed if a queryset contained an aggregation and
+ ``Subquery()`` annotation that collides with a field name (:ticket:`31377`).