mirror of
https://github.com/django/django.git
synced 2025-02-08 00:16:31 +00:00
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).