Django 1.8 - 「No migrations to apply」 when run migrate after makemigrations 解決辦法

解決辦法django

1 刪除應用migrations目錄app

2 刪除MySQL中django_migrations中對應的行(delete from django_migrations where app='appname')io

3 從新makemigrations 和migratemake

相關文章
相關標籤/搜索