from django.db import models class parent(models.Model): name = models.CharField() class childA(models.Model): parent = models.ForeignKey(parent) some_field = models.CharField() class childB(models.Model): parent = models.ForeignKey(parent) some_other_field = models.CharField() some_field = #How to tie to some_field (multiple) from childA with same parent as childB's? #USING manage.py shell p = objects.all()[0] #first parent childb = p.childB_set.all()[0] #first childB object under p print childb.parent.childA_set.all() # Returns list of childA objects #How to get the same result in the models.py?