mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
46b2b08e45
By using `select_related(None)` instead of `select_related()`, the unnecessary joins are completely avoided. Note that the current tests already covers the change, when the field is not `null=True`. Regression inf9936deed1
. Backport of517d3bb4dd
from main
23 lines
686 B
Plaintext
23 lines
686 B
Plaintext
==========================
|
|
Django 4.2.5 release notes
|
|
==========================
|
|
|
|
*Expected September 4, 2023*
|
|
|
|
Django 4.2.5 fixes several bugs in 4.2.4.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a regression in Django 4.2 that caused an incorrect validation of
|
|
``CheckConstraints`` on ``__isnull`` lookups against ``JSONField``
|
|
(:ticket:`34754`).
|
|
|
|
* Fixed a bug in Django 4.2 where the deprecated ``DEFAULT_FILE_STORAGE`` and
|
|
``STATICFILES_STORAGE`` settings were not synced with ``STORAGES``
|
|
(:ticket:`34773`).
|
|
|
|
* Fixed a regression in Django 4.2.2 that caused an unnecessary selection of a
|
|
non-nullable ``ManyToManyField`` without a natural key during serialization
|
|
(:ticket:`34779`).
|