From 7a67b065d7e5653f3af1cbd28882d33d2a088b02 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Mon, 17 Jul 2023 12:51:54 -0400 Subject: [4.2.x] Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window functions. Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7. Refs #28477. Thanks younes-chaoui for the report. Backport of 68912e4f6f84f21322f92a2c7b6c77f68f91b9c9 from main --- docs/releases/4.2.4.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/4.2.4.txt b/docs/releases/4.2.4.txt index e8fd225516..3921dd9b3e 100644 --- a/docs/releases/4.2.4.txt +++ b/docs/releases/4.2.4.txt @@ -9,4 +9,6 @@ Django 4.2.4 fixes several bugs in 4.2.3. Bugfixes ======== -* ... +* Fixed a regression in Django 4.2 that caused a crash of + ``QuerySet.aggregate()`` with aggregates referencing window functions + (:ticket:`34717`). -- cgit v1.3