From c2615a050036eda0bca090c707191076220cee9f Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 21 May 2025 13:48:59 +0100 Subject: Fixed #36405 -- Fixed Aggregate.order_by using OuterRef. co-authored-by: Simon Charette --- docs/releases/5.2.2.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt index b8deb1c928..a506430b33 100644 --- a/docs/releases/5.2.2.txt +++ b/docs/releases/5.2.2.txt @@ -25,3 +25,7 @@ Bugfixes * Fixed a regression in Django 5.2 that caused a crash when using ``OuterRef`` in the ``filter`` argument of an ``Aggregate`` expression (:ticket:`36404`). + +* Fixed a regression in Django 5.2 that caused a crash when using ``OuterRef`` + in PostgreSQL aggregate functions ``ArrayAgg``, ``StringAgg``, and + ``JSONBAgg`` (:ticket:`36405`). -- cgit v1.3