【发布时间】:2015-10-27 15:22:50
【问题描述】:
我错误地删除了路径projectName/appName/migrations下的所有.py文件,其中包括:
0001_initial.py
0011_auto_20150918_0723.py
0002_auto_20150819_1301.py
...
现在,即使我更新了 Model 文件,并运行命令python manage.py makemigrations,它总是提示 No changes detected。
我怎样才能恢复一切?
【问题讨论】:
标签: python django django-migrations