创建项目
django-admin startproject 项目名
创建app
startapp app名
创建表
makemigration app名
migrate app名
创建超级管理员
createsuperuser
修改密码
changepassword 用户名
模糊查询
contains:模糊查询 相当于like %传%
endswith: 相当于 like %传
startswith:想当于 like 传%
列:查询包含‘传‘’的图书: BookInfo.objects.filter(btitle contains = "传")
’