summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2023-11-17 19:42:44 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-11-18 16:52:54 +0100
commit49f1ced86398177c125e256d7e812eb34fae672e (patch)
tree79aa380028060001b318ca8d686f421ebed03153 /docs
parent8fb92dc96a36027a7e0943445e123eff815dac4c (diff)
[5.0.x] 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 b181cae2e3697b2e53b5b67ac67e59f3b05a6f0d. Refs #25307. Thanks Sergey Nesterenko for the report. Backport of 7530cf3900ab98104edcde69e8a2a415e82b345a from main
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.2.8.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/4.2.8.txt b/docs/releases/4.2.8.txt
index 5804589408..2229324362 100644
--- a/docs/releases/4.2.8.txt
+++ b/docs/releases/4.2.8.txt
@@ -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`).