Often I want to select some related objects in get_list(), but select_related only allows to traverse the reference tree right to the bottom of it.
Would it be hard to have select_related either be set to True if one wants to select the whole tree, or be set to the names of relations that one wants to fetch and their depth. For example: class B: class C: class A: b = foreignkey(B) c = foreignkey(C) from django.models.myapp import as as.get_list(select_related = dict(b = 1)) This way only the join to B would be followed and no joins in B would be followed (if there were any) since depth is 1. Regards!