1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[4.2.x] Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.

Regression in 59bea9efd2.

Refs #28477.

Thanks Denis Roldán and Mariusz for the test.

Backport of e5c844d6f2 from main
This commit is contained in:
Simon Charette
2023-05-21 23:57:49 -04:00
committed by Mariusz Felisiak
parent 57f499e412
commit c78a4421de
4 changed files with 31 additions and 0 deletions

View File

@@ -32,3 +32,7 @@ Bugfixes
* Fixed a regression in Django 4.2 that caused a crash of
``QuerySet.aggregate()`` with expressions referencing other aggregates
(:ticket:`34551`).
* Fixed a regression in Django 4.2 that caused a crash of
``QuerySet.aggregate()`` with aggregates referencing subqueries
(:ticket:`34551`).