#27048: Document that refresh_from_db() doesn't clear @cached_properties
-------------------------------------+-------------------------------------
     Reporter:  jarekwg              |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  cached_property      |             Triage Stage:  Ready for
  refresh_from_db                    |  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:"eea74edc7068a9c75f0f7b09ae59bfdcacc35195" eea74ed]:
 {{{
 #!CommitTicketReference repository=""
 revision="eea74edc7068a9c75f0f7b09ae59bfdcacc35195"
 [1.10.x] Fixed #27048 -- Documented that refresh_from_db() doesn't reload
 @cached_properties.

 Backport of 9556005425ca3d1c8c2a0e8b48e228e63a0bdd32 from master
 }}}

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

Reply via email to