mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report.
Regression in f333e3513e.
This commit is contained in:
committed by
Mariusz Felisiak
parent
eeb2119985
commit
b287af5dc9
@@ -16,3 +16,7 @@ Bugfixes
|
||||
* Fixed a long standing bug in handling the ``RETURNING INTO`` clause that
|
||||
caused a crash when creating a model instance with a ``GeneratedField`` which
|
||||
``output_field`` had backend-specific converters (:ticket:`35024`).
|
||||
|
||||
* Fixed a regression in Django 5.0 that caused a crash of ``Model.save()`` for
|
||||
models with both ``GeneratedField`` and ``ForeignKey`` fields
|
||||
(:ticket:`35019`).
|
||||
|
||||
Reference in New Issue
Block a user