#31680: Preventing DeferredAttribute.__ get__() unnecessary calls.
-------------------------------------+-------------------------------------
     Reporter:  Sultan               |                    Owner:  Sultan
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

 In [changeset:"678c8dfee458cda77fce0d1c127f1939dc134584" 678c8df]:
 {{{
 #!CommitTicketReference repository=""
 revision="678c8dfee458cda77fce0d1c127f1939dc134584"
 Fixed #31680 -- Removed unnecessary getattr() call in
 DeferredAttribute.__get__().

 refresh_from_db() loads fields values.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31680#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c19fceb91bb49f78e6b9d02ab18e3432%40djangoproject.com.

Reply via email to