- 模型设计 models
- 迁移 Migrations makemigrations 负责将模型修改打包进独立的迁移文件中——类似提交修改,而 migrate 负责将其应用至数据库。 makemigrations is responsible for packaging up your model changes into individual migration files - analogous to commits - and migrate is responsible for applying those to your database. python manage.py makemigrations
python manage.py migrate
- routes, views, template, admin
Top comments (0)