| 1 |
========================== |
| 2 |
Django 5.2.4 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*July 2, 2025* |
| 6 |
|
| 7 |
Django 5.2.4 fixes several bugs in 5.2.3. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a regression in Django 5.2.2 where :meth:`HttpRequest.get_preferred_type() |
| 13 |
<django.http.HttpRequest.get_preferred_type>` incorrectly preferred more |
| 14 |
specific media types with a lower quality (:ticket:`36447`). |
| 15 |
|
| 16 |
* Fixed a regression in Django 5.2.3 where ``Value(None, JSONField())`` used in |
| 17 |
a :class:`~django.db.models.expressions.When` condition was incorrectly |
| 18 |
serialized as SQL ``NULL`` instead of JSON ``null`` (:ticket:`36453`). |
| 19 |
|
| 20 |
* Fixed a crash in Django 5.2 when performing an ``__in`` lookup involving a |
| 21 |
composite primary key and a subquery on backends that lack native support for |
| 22 |
tuple lookups (:ticket:`36464`). |