2024-03-04 17:28:49 +08:00
|
|
|
==========================
|
|
|
|
Django 5.0.4 release notes
|
|
|
|
==========================
|
|
|
|
|
2024-04-03 22:11:23 +08:00
|
|
|
*April 3, 2024*
|
2024-03-04 17:28:49 +08:00
|
|
|
|
|
|
|
Django 5.0.4 fixes several bugs in 5.0.3.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2024-03-06 05:36:11 +08:00
|
|
|
* Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on
|
|
|
|
fields with expressions in ``db_default``. As a consequence,
|
|
|
|
``Model.full_clean()`` no longer validates for empty values in fields with
|
|
|
|
``db_default`` (:ticket:`35223`).
|
2024-03-07 04:18:36 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 where the ``AdminFileWidget`` could be
|
|
|
|
rendered with two ``id`` attributes on the "Clear" checkbox
|
|
|
|
(:ticket:`35273`).
|
2024-03-27 05:58:47 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash on PostgreSQL 15+
|
|
|
|
when adding a partial ``UniqueConstraint`` with ``nulls_distinct``
|
|
|
|
(:ticket:`35329`).
|
2024-03-31 06:14:15 +08:00
|
|
|
|
|
|
|
* Fixed a crash in Django 5.0 when performing queries involving table aliases
|
|
|
|
and lookups on a ``GeneratedField`` of the aliased table (:ticket:`35344`).
|
2024-04-03 04:33:31 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash when adding a
|
|
|
|
``GeneratedField`` relying on the ``__contains`` or ``__icontains``
|
|
|
|
lookups or using a ``Value`` containing a ``"%"`` (:ticket:`35336`).
|