#27846: refresh_from_db() doesn't clear reverse OneToOneFields
-------------------------------------+-------------------------------------
Reporter: Keith Hostetler | Owner: Paulo
Type: Bug | Status: closed
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: refresh_from_db | Triage Stage: Accepted
OneToOneField |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f" a7b5ad8b]:
{{{
#!CommitTicketReference repository=""
revision="a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f"
Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27846#comment:9>
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/067.65df390ca8309a071065301f7affd32a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.