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