1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00
django/docs/releases/5.0.4.txt
Mariusz Felisiak 345e3cf57f [5.0.x] Fixed #35329 -- Fixed migrations crash when adding partial unique constraints with nulls_distinct.
Bug in 595a2abb58.

Thanks Lucas Lemke Saunitti for the report.
Backport of b98271a6e4 from main
2024-03-26 22:59:23 +01:00

24 lines
748 B
Plaintext

==========================
Django 5.0.4 release notes
==========================
*Expected April 2, 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 in ``db_default``. As a consequence,
``Model.full_clean()`` no longer validates for empty values in fields with
``db_default`` (:ticket:`35223`).
* Fixed a regression in Django 5.0 where the ``AdminFileWidget`` could be
rendered with two ``id`` attributes on the "Clear" checkbox
(:ticket:`35273`).
* 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`).