mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.0.x] Fixed #35657 -- Made FileField handle db_default values.
Backport of 8deb6bb1fc from main.
This commit is contained in:
@@ -32,3 +32,6 @@ Bugfixes
|
||||
* 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`).
|
||||
|
||||
* Fixed a crash in Django 5.0 when saving a model containing a ``FileField``
|
||||
with a ``db_default`` set (:ticket:`35657`).
|
||||
|
||||
Reference in New Issue
Block a user