diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-05-14 22:49:52 -0400 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-05-16 08:19:38 +0200 |
| commit | 994dc6d8a1bae717baa236b65e11cf91ce181c53 (patch) | |
| tree | 09e1a4ebf601e5052cd466163d1b9dced4f4a50e /docs | |
| parent | e03e5c751c56db5f4cb99e142c92d7d8db3a5463 (diff) | |
Fixed #36392 -- Raised ValueError when subquery referencing composite pk selects too many columns.
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 1af581e60c..22f3009c34 100644 --- a/docs/releases/5.2.2.txt +++ b/docs/releases/5.2.2.txt @@ -11,3 +11,7 @@ Bugfixes * Fixed a crash when using ``select_related`` against a ``ForeignObject`` originating from a model with a ``CompositePrimaryKey`` (:ticket:`36373`). + +* Fixed a bug in Django 5.2 where subqueries using ``"pk"`` to reference models + with a ``CompositePrimaryKey`` failed to raise ``ValueError`` when too many + or too few columns were selected (:ticket:`36392`). |
