From 8b53560eea9f10a1271d3bdf765dc6f969c7d9d5 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Mon, 8 Apr 2024 18:10:14 +0200 Subject: Fixed #35350 -- Fixed save() with pk set on models with GeneratedFields. Thanks Matt Hegarty for the report and Simon Charette and Natalia Bidart for the reviews. Regression in f333e35. --- docs/releases/5.0.5.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/5.0.5.txt b/docs/releases/5.0.5.txt index fd36171c40..506127b0ca 100644 --- a/docs/releases/5.0.5.txt +++ b/docs/releases/5.0.5.txt @@ -9,4 +9,6 @@ Django 5.0.5 fixes several bugs in 5.0.4. Bugfixes ======== -* ... +* Fixed a bug in Django 5.0 that caused a crash of ``Model.save()`` when + creating an instance of a model with a ``GeneratedField`` and providing a + primary key (:ticket:`35350`). -- cgit v1.3