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:49:51 +0100
commit72652bcb1b29710d23c3e6f872046d4aedc58665 (patch)
tree0e789a048ed59e44547017f7e0e8e1a15e0ec48b /docs
parent600d7d86931e314837591a227c834803f2b4994b (diff)
[3.0.x] 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. Backport of 10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c from master
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`).