If I have a models file class City(models.Model): # ...
class Person(models.Model): # ... hometown = models.ForeignKey(City) class Book(meta.Model): # ... author = models.ForeignKey(Person) then select_related will allow me to easily find all persons and citys related to a given book (ie from leaf to root) but how do I retrieve a city object and find out which books are in that city?? This seems to be one of those object / set theory disconnects. Or I am not reading the manual enough cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---