diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2023-12-06 23:19:09 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-12-08 09:46:11 +0100 |
| commit | b287af5dc954628d4b336aefc5027b2edceee64b (patch) | |
| tree | c5ab9d66dbc5d343dbeb684594d61558693a9295 /docs | |
| parent | eeb2119985d9879b1d9ac3730ea0b53c0c019221 (diff) | |
Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report.
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.1.txt b/docs/releases/5.0.1.txt index a8b886c6e2..6b0b6de66c 100644 --- a/docs/releases/5.0.1.txt +++ b/docs/releases/5.0.1.txt @@ -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`). |
