From 8be0c0d6901669661fca578f474cd51cd284d35a Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 8 May 2025 14:02:35 -0400 Subject: Fixed #36373 -- Fixed select_related() crash on foreign object for a composite pk. Thanks Jacob Walls for the report and Sarah for the in-depth review. --- docs/releases/5.2.2.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt index 6d5f3bb61d..1af581e60c 100644 --- a/docs/releases/5.2.2.txt +++ b/docs/releases/5.2.2.txt @@ -9,4 +9,5 @@ Django 5.2.2 fixes several bugs in 5.2.1. Bugfixes ======== -* ... +* Fixed a crash when using ``select_related`` against a ``ForeignObject`` + originating from a model with a ``CompositePrimaryKey`` (:ticket:`36373`). -- cgit v1.3