My setup:
I get the following error when I ru
You have not given any code so its difficult to understand your models relations. But can I guess that you have passed the ForeignKey model as an instance? Try to give it as a string
class MyModel(models.Model):
fk_field = models.ForeignKey('path.to.other.model') # same as from path.models import model
This usually works out. Hope it does for you too!