Fork me on GitHub

Django 1.8 - “No migrations to apply” when run migrate after makemigrations 解决办法

解决办法

1 删除应用migrations目录

2 删除MySQL中django_migrations中对应的行(delete from django_migrations where app='appname')

3 重新makemigrations 和migrate

posted @ 2016-11-21 13:41  Roronoa__Zoro  阅读(220)  评论(0编辑  收藏  举报