在pycharm的terminal中执行下面2个命令 1. 让 Django 知道我们在我们的模型有一些变更 python manage.py makemigrations2. 将变更更新到数据库python manage.py migrate