Hello, ---- class Org(models.Model): person = models.ForeignKey(Person) ....
class Person(models.Model): address = models.ForeignKey(Address) ... class Address(models.Model): street = models.CharField(max_length=50) city = models.CharField(max_length=25) ... ----- The following does not return any results: Org.objects.filter(person__address__city__exact='Boston') Can you tell me if this is a correct filter? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---