diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-04-08 18:10:14 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-04-10 15:55:30 +0200 |
| commit | f075a19e856ced33ddfb0e1330b5c277ddb14bfe (patch) | |
| tree | e0ca7652dbcdfde69eb70c4add312b8e128d59d9 /docs | |
| parent | 58061fd2b4c4b66c0fd3db8026c8b5e369ed9ec3 (diff) | |
[5.0.x] 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.
Backport of 8b53560eea9f10a1271d3bdf765dc6f969c7d9d5 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.5.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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`). |
