#22508: select_related on a foreign related object fails to load fields on 
original
object
-------------------------------------+-------------------------------------
     Reporter:  boxm                 |                    Owner:  aaugustin
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.6
  (models, ORM)                      |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Ready for
     Keywords:                       |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Aymeric Augustin <aymeric.augustin@…>):

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


Comment:

 In [changeset:"f574220f0988f3aa1aca4f133887fbde0e5a6f10"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f574220f0988f3aa1aca4f133887fbde0e5a6f10"
 Fixed #22508 -- Avoided overwriting select_related.

 Previously, known related objects overwrote related objects loaded
 though select_related. This could cancel the effect of select_related
 when it was used over more than one level.

 Thanks boxm for the bug report and timo for bisecting the regression.
 }}}

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

Reply via email to