1、创建管理员账号和密码 python managy.py createsuperuser 2、create数据库表 python manage.py makemigrations python manage.py migrate