ValueError: Related model u'app.model' cannot be resolved

后端 未结 6 818
甜味超标
甜味超标 2020-12-29 02:06

I have two applications (ook and eek say) and I want to use a foreign key to a model in ook from a model in eek. Both are

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 02:23

    Try running migrations one by one for every model.

    This way you can debug the app you are facing problem with

    python manage.py migrate appmname
    

提交回复
热议问题