Опубликовано 3 апреля 2024 г. 14:30 by Xadmin просмотров: 58
Today we've issued the 5.0.4 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
Django 3.2 has reached the end of extended support
Note that with this release, Django 3.2 has reached the end of extended support. All Django 3.2 users are encouraged to upgrade to Django 4.2 or later to continue receiving fixes for security issues.
See the downloads page for a table of supported versions and the future release schedule.
Posted by Natalia Bidart on Апрель 3, 2024
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 withdb_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 partial
UniqueConstraint
withnulls_distinct
(#35329). - Fixed a crash in Django 5.0 when performing queries involving table aliases and lookups on a
GeneratedField
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).