summaryrefslogtreecommitdiff
path: root/docs/releases/5.2.2.txt
blob: 22f3009c3421a055e28f144cc6d7d79bf27785ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
==========================
Django 5.2.2 release notes
==========================

*Expected June 4, 2025*

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`).

* 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`).