命令
python manage.py help
django-admin startaproject project #创建项目
python manage.py startapp app #创建应用
python manage.py shell #命令行打开python shell
python manage.py runserver 80 #服务器运行在80端口
python manage.py makemigrations [app] #检测models.py并把修改的部分存储为一次'迁移'
python manage.py sqlmigrate [app] [0001] #返回相对应的sql语句
python manage.py migrate #将迁移应用到数据库上