1
0
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:
Sarah Boyce
2024-08-05 21:36:49 +02:00
committed by Natalia
parent 333cfab512
commit d7f955462c
4 changed files with 27 additions and 0 deletions

View File

@@ -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`).