summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2023-12-06 23:19:09 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-08 12:09:56 +0100
commit03af8fbd0f1cfc08edadda248cf5d3498e8ed2f7 (patch)
tree32f8d2d31e59b28cb371d6973cccefb3423d8192 /docs
parent6c992dc0031f9f3134aa50d1bc00b1eee581ae13 (diff)
[5.0.x] Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of b287af5dc954628d4b336aefc5027b2edceee64b from main
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.1.txt4
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`).