C/C++教程

You have 18 unapplied migration(s). Your project may not work properly until you apply the migration

本文主要是介绍You have 18 unapplied migration(s). Your project may not work properly until you apply the migration,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

新建Django项目,使用python manage.py runserver命令运行时,提示

You have 18 unapplied migration(s). Your project may not work properly until you
apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.错误

最后一行信息提示了运行 python manage.py migrate来应用它们

解决方法: Ctrl + C结束服务,执行这个命令  python manage.py migrate

 

这篇关于You have 18 unapplied migration(s). Your project may not work properly until you apply the migration的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!