Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行 "python manage.py makemigrations" 但出现 "No changes detected" 。我做了更改,所以我不知道问题出在哪里。帮助!
也许您需要检查文件 .pyc 所在的目录并删除所有文件
也许你忘记保存模型文件
有时您必须指定进行更改的应用程序。不要忘记保存。
python manage.py makemigrations app-name python manage.py migrate