#13781: select_related and multiple inheritance
-------------------------------------+-------------------------------------
     Reporter:  shauncutts           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (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 Anssi Kääriäinen <akaariai@…>):

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


Comment:

 In [changeset:"f51e409a5fb34020e170494320a421503689aea0"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f51e409a5fb34020e170494320a421503689aea0"
 Fixed #13781 -- Improved select_related in inheritance situations

 The select_related code got confused when it needed to travel a
 reverse relation to a model which had different parent than the
 originally travelled relation.

 Thanks to Trac aliases shauncutts for report and ungenio for original
 patch (committed patch is somewhat modified version of that).
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13781#comment:20>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to