#35019: Model with GeneratedField and ForeignKey raises an error on save().
-------------------------------------+-------------------------------------
Reporter: Deb Kumar Das | Owner: Sarah
| Boyce
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: GeneratedField save | Triage Stage: Ready for
error | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"03af8fbd0f1cfc08edadda248cf5d3498e8ed2f7" 03af8fb]:
{{{
#!CommitTicketReference repository=""
revision="03af8fbd0f1cfc08edadda248cf5d3498e8ed2f7"
[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
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35019#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c491eee01-0d78458f-5556-412e-8edc-d6285cf374c4-000000%40eu-central-1.amazonses.com.