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).
Loading
Please register or sign in to comment