mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[5.0.x] Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report. Regression inf333e3513e. Backport ofb287af5dc9from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
6c992dc003
commit
03af8fbd0f
@@ -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