summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Sanders <shang.xiao.sanders@gmail.com>2024-08-05 08:22:29 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-08-05 17:36:15 +0200
commitaed4ffe1897c51c0dfd8689c0834ca4ca0a8a03e (patch)
tree409778e06c17bbc9f828db340b431c030e5e400b /docs
parent78654a29b851751f347d51dbfe5ba8a996c012ba (diff)
[5.1.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.txt4
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`).