Hi! Imagine that you have these three models: class Model_A(models.Model): pass
class Model_B(models.Model): pass class Model_C(models.Model): model_a = models.ForeignKey(Model_A) model_b = models.ManyToManyField(Model_B) object_Model_A._meta.get_all_related_objects() This should give access to all instances of Model_C that has a FK to object_Model_A. But, I'm wondering if django provides some generic mechanism to do the invers relation? it is,given a Model_C object get all related Model_A and Model_B objects. Many Thanks!! -- Marc -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.