summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2020-05-13 23:38:29 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-14 08:40:40 +0200
commitafceb2241ba84dfafe59de326cdc9c01963ddefb (patch)
treed39cc3ece50f4a5592a81d703c1cb184e5e01632 /django/db/models/sql/compiler.py
parent6e8a11e88cb11737a3230da45b9206bd3c7a2d98 (diff)
[3.0.x] Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.
Subquery annotation references must be resolved if they are excluded from the GROUP BY clause by a following .values() call. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Makina Corpus for the report. Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe from master
Diffstat (limited to 'django/db/models/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions