#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
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"0f02d71995530f29a2d3246083854fe19697c3a5" 0f02d719]:
{{{
#!CommitTicketReference repository=""
revision="0f02d71995530f29a2d3246083854fe19697c3a5"
[2.1.x] Fixed #29896 -- Fixed incorrect Model.save() cache relation
clearing for foreign keys that use to_field.
Regression in ee49306176a2d2f1751cb890bd607d42c7c09196.
Backport of f77fc56c9671a2e2498e3920d79e247e6de18c16 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29896#comment:5>
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.95fae65a51ec800b2647774df4f59336%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.