From 8deb6bb1fc427762d56646bf7306cbd11fb5bb68 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:36:49 +0200 Subject: Fixed #35657 -- Made FileField handle db_default values. --- docs/releases/5.0.8.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.0.8.txt b/docs/releases/5.0.8.txt index 5cc3faec98..704ecf2c61 100644 --- a/docs/releases/5.0.8.txt +++ b/docs/releases/5.0.8.txt @@ -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`). -- cgit v1.3