1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[5.1.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 aed4ffe189
commit 2ba4f4b0b5
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`).