diff options
| author | Simon Charette <charette.s@gmail.com> | 2020-05-13 23:38:29 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-14 08:40:40 +0200 |
| commit | afceb2241ba84dfafe59de326cdc9c01963ddefb (patch) | |
| tree | d39cc3ece50f4a5592a81d703c1cb184e5e01632 /django/db/models/sql/compiler.py | |
| parent | 6e8a11e88cb11737a3230da45b9206bd3c7a2d98 (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
