mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.
Thanks Brian Ibbotson for the report.
Regression in 7414704e88.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1669e54965
commit
1570ef02f3
@@ -9,4 +9,7 @@ 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`).
|
||||
|
||||
Reference in New Issue
Block a user