diff options
| author | David Sanders <shang.xiao.sanders@gmail.com> | 2024-08-05 08:22:29 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-05 17:42:19 +0200 |
| commit | 333cfab512689490ea8a6a95598a94d77816fa2d (patch) | |
| tree | 2783f13b4fb53f4c2b88f62a4a09715ceaa5d98e /docs | |
| parent | e88ef6a27d125da95e530be20b879fb4f540f7f6 (diff) | |
[5.0.x] Fixed #35638 -- Updated validate_constraints to consider db_default.
Backport of 509763c79952cde02d9f5b584af4278bdbed77b2 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.8.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.8.txt b/docs/releases/5.0.8.txt index 31de9985c4..5cc3faec98 100644 --- a/docs/releases/5.0.8.txt +++ b/docs/releases/5.0.8.txt @@ -28,3 +28,7 @@ Bugfixes * Fixed a bug in Django 5.0 that caused a system check crash when ``ModelAdmin.date_hierarchy`` was a ``GeneratedField`` with an ``output_field`` of ``DateField`` or ``DateTimeField`` (:ticket:`35628`). + +* Fixed a bug in Django 5.0 which caused constraint validation to either crash + or incorrectly raise validation errors for constraints referring to fields + using ``Field.db_default`` (:ticket:`35638`). |
