Debian Codegraph @

docs/releases/5.0.4.txt

raw
1 ==========================
2 Django 5.0.4 release notes
3 ==========================
4
5 *April 3, 2024*
6
7 Django 5.0.4 fixes several bugs in 5.0.3.
8
9 Bugfixes
10 ========
11
12 * Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on
13 fields with expressions in ``db_default``. As a consequence,
14 ``Model.full_clean()`` no longer validates for empty values in fields with
15 ``db_default`` (:ticket:`35223`).
16
17 * Fixed a regression in Django 5.0 where the ``AdminFileWidget`` could be
18 rendered with two ``id`` attributes on the "Clear" checkbox
19 (:ticket:`35273`).
20
21 * Fixed a bug in Django 5.0 that caused a migration crash on PostgreSQL 15+
22 when adding a partial ``UniqueConstraint`` with ``nulls_distinct``
23 (:ticket:`35329`).
24
25 * Fixed a crash in Django 5.0 when performing queries involving table aliases
26 and lookups on a ``GeneratedField`` of the aliased table (:ticket:`35344`).
27
28 * Fixed a bug in Django 5.0 that caused a migration crash when adding a
29 ``GeneratedField`` relying on the ``__contains`` or ``__icontains``
30 lookups or using a ``Value`` containing a ``"%"`` (:ticket:`35336`).