mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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
.
This commit is contained in:
parent
ca5cd3e3e8
commit
8b53560eea
3 changed files with 17 additions and 5 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue