新建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