#29896: Regression when saving a ForeignKey with to_field attr. Cached model is
lost.
-------------------------------------+-------------------------------------
Reporter: Maciej Gol | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"f77fc56c9671a2e2498e3920d79e247e6de18c16" f77fc56]:
{{{
#!CommitTicketReference repository=""
revision="f77fc56c9671a2e2498e3920d79e247e6de18c16"
Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for
foreign keys that use to_field.
Regression in ee49306176a2d2f1751cb890bd607d42c7c09196.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29896#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.15c9f0c8007e6c23e9e617bbb9028291%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.