Say I have a model B which is related to model A via ForeignKey.
B
A
ForeignKey
class A(models.Model): ... class B(models.Model):