#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
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"5d3f2aa3f12747822fb1ece95f0f614eeafa47b1" 5d3f2aa]:
 {{{
 #!CommitTicketReference repository=""
 revision="5d3f2aa3f12747822fb1ece95f0f614eeafa47b1"
 [2.0.x] Fixed #27846 -- Made Model.refresh_from_db() clear cached
 relations.

 Backport of a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27846#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 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.17a134e6bd270e7112920e77bafb8d80%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to