mirror of
https://github.com/Hopiu/django.git
synced 2026-05-18 04:21:06 +00:00
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 in f9936deed1.
22 lines
686 B
Text
22 lines
686 B
Text
==========================
|
|
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`).
|