Django - 5.0.4
Django 5.0.4 release notes
April 3, 2024
Django 5.0.4 fixes several bugs in 5.0.3.
Bugfixes
- Fixed a bug in Django 5.0 that caused a crash of
Model.full\_clean()
on
fields with expressions indb\_default
. As a consequence,
Model.full\_clean()
no longer validates for empty values in fields with
db\_default
(#35223). - Fixed a regression in Django 5.0 where the
AdminFileWidget
could be
rendered with twoid
attributes on the βClearβ checkbox
(#35273). - Fixed a bug in Django 5.0 that caused a migration crash on PostgreSQL 15+
when adding a partialUniqueConstraint
withnulls\_distinct
(#35329). - Fixed a crash in Django 5.0 when performing queries involving table aliases
and lookups on aGeneratedField
of the aliased table (#35344). - 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 aValue
containing a"%"
(#35336).
Details
date
April 3, 2024, 2:39 p.m.
type
Patch
official page
π
Register or login to:
- πView and search all Django releases.
- π οΈCreate and share lists to track your tools.
- π¨Setup notifications for major, security, feature or patch updates.
- πMuch more coming soon!