mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34975 -- Fixed crash of conditional aggregate() over aggregations.
Adjustments made to solve_lookup_type to defer the resolving of
references for summarized aggregates failed to account for similar
requirements for lookup values which can also reference annotations
through Aggregate.filter.
Regression in b181cae2e3.
Refs #25307.
Thanks Sergey Nesterenko for the report.
This commit is contained in:
committed by
Mariusz Felisiak
parent
594873befb
commit
7530cf3900
@@ -11,3 +11,7 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in Django 4.2 that caused :option:`makemigrations --check`
|
||||
to stop displaying pending migrations (:ticket:`34457`).
|
||||
|
||||
* Fixed a regression in Django 4.2 that caused a crash of
|
||||
``QuerySet.aggregate()`` with aggregates referencing other aggregates or
|
||||
window functions through conditional expressions (:ticket:`34975`).
|
||||
|
||||
Reference in New Issue
Block a user