Fix Conflicting migrations detected in Django1.9

后端 未结 2 771
臣服心动
臣服心动 2021-02-19 17:20

I updated django-dynamic-model repository to support Django 1.9. I got this error:

CommandError: 

Conflicting migrations detected; multiple leaf nodes in the mi         


        
2条回答
  •  礼貌的吻别
    2021-02-19 17:43

    Seems like you have injected models of other applications.

    Define TARGET_APP in your migrations, seems like migrations loader can't correctly identify target app.

提交回复
热议问题