makemigrations doesn't detect changes in model

前端 未结 6 988
孤独总比滥情好
孤独总比滥情好 2021-02-13 13:57

I\'m using django 1.9.6. I recently deleted my migrations and ran migrate --run-syncdb and makemigrations my_app. Today I added a new field to one of m

6条回答
  •  攒了一身酷
    2021-02-13 14:53

    Try creating a migrations folder that contains an empty __init__.py file inside your app folder if there is no migrations folder already. And make migrations.

提交回复
热议问题