1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.

Regression in 59bea9efd2.

Refs #28477.

Thanks Denis Roldán and Mariusz for the test.
This commit is contained in:
Simon Charette
2023-05-21 23:57:49 -04:00
committed by Mariusz Felisiak
parent 2ee01747c3
commit e5c844d6f2
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`).