I had this problem in the past, there are two models that refer to each other, that is, to use the field ForeignKey. There is an easy way to handle this: Django documentation :
, , , :
, beta/models.py :
class BetaModel(models.Model):
alpha = models.ForeignKey('alpha.AlphaModel')
...
alpha.models .