diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-06-03 22:34:39 -0400 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-06-04 10:46:49 +0200 |
| commit | 08187c94ed02c45ad40a32244dedeaa7ac71ca87 (patch) | |
| tree | 10ace1a29c0c4fd5724998d683ad4f1e598ad0c1 /docs | |
| parent | c075508b4de8edf9db553b409f8a8ed2f26ecead (diff) | |
Fixed #36432 -- Fixed a prefetch_related crash on related target subclass queryset.
Regression in 626d77e52a3f247358514bcf51c761283968099c.
Refs #36116.
Thanks Cornelis Poppema for the excellent report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.2.2.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt index 1a363ad55d..56efb69bfb 100644 --- a/docs/releases/5.2.2.txt +++ b/docs/releases/5.2.2.txt @@ -43,3 +43,7 @@ Bugfixes <django.http.HttpRequest.get_preferred_type>` did not account for media type parameters in ``Accept`` headers, reducing specificity in content negotiation (:ticket:`36411`). + +* Fixed a regression in Django 5.2 that caused a crash when using + ``QuerySet.prefetch_related()`` to prefetch a foreign key with a ``Prefetch`` + queryset for a subclass of the foreign target (:ticket:`36432`). |
