class A(Model):
pass
class B(Model):
a = ForeignKey(A)
B.objects.select_related("a") # this works
A.objects.select_related("b") # this doesn't
How do I make the second line work? Are there any ways to do the same thing in some other ways?