#29076: Make Model.refresh_from_db() clear cached foreign key and one to one
fields, even if the related ID hasn't changed
-------------------------------------+-------------------------------------
     Reporter:  Jon Dufresne         |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               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 Tim Graham <timograham@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"136bf5c2142ae3261669d02e2dd050c3141f7f2f" 136bf5c2]:
 {{{
 #!CommitTicketReference repository=""
 revision="136bf5c2142ae3261669d02e2dd050c3141f7f2f"
 Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships
 even if the related id doesn't change.
 }}}

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

Reply via email to