diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-05-08 14:02:35 -0400 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-05-12 13:34:45 +0200 |
| commit | e23dd72880bf9975e928ef10ca4fdfa897665026 (patch) | |
| tree | 21cdf966b3611af74a56b233adeef397b74e3886 /docs | |
| parent | ab5c0664720c1239563864602a3ad7bb081cec85 (diff) | |
[5.2.x] 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.
Backport of 8be0c0d6901669661fca578f474cd51cd284d35a from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.2.2.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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`). |
