第一次Django 有关项目生成及迁移目录的形成 使用模型 (1)定义模型类 (2)生成迁移文件 python manage.py makemigrations (3)执行迁移,根据上一步的迁移文件创建表 pyhton manage.py migrate