mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[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 inf333e35. Backport of8b53560eeafrom main.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user