django在表发生变化后需执行命令 1.让 Django 知道我们在我们的模型有一些变更 python manage.py makemigrations Model 2.创建表结构 python manage.py migrate Model