From 9cc0d7f7f85cecc3ad15bbc471fe6a08e4f515b6 Mon Sep 17 00:00:00 2001 From: willzhao Date: Thu, 31 Aug 2023 07:51:44 +0000 Subject: Fixed #34803 -- Fixed queryset crash when filtering againts deeply nested OuterRef annotations. Thanks Pierre-Nicolas Rigal for the report. Regression in c67ea79aa981ae82595d89f8018a41fcd842e7c9. --- docs/releases/4.2.5.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.5.txt b/docs/releases/4.2.5.txt index fe216cadb3..d88ece91e6 100644 --- a/docs/releases/4.2.5.txt +++ b/docs/releases/4.2.5.txt @@ -21,3 +21,6 @@ Bugfixes * Fixed a regression in Django 4.2.2 that caused an unnecessary selection of a non-nullable ``ManyToManyField`` without a natural key during serialization (:ticket:`34779`). + +* Fixed a regression in Django 4.2 that caused a crash of a queryset when + filtering against deeply nested ``OuterRef()`` annotations (:ticket:`34803`). -- cgit v1.3