mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[5.1.x] Fixed #35638 -- Updated validate_constraints to consider db_default.
Backport of 509763c799 from main.
This commit is contained in:
committed by
Sarah Boyce
parent
78654a29b8
commit
aed4ffe189
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user