1、首先使用命令行创建默认库 python manage.py migrate 2.再检查 python manage.py makemigrations python manage.py migrate