Django后台管理(1)-创建后台

创建管理员用户

D:\sort\svn_labreport\task_project>python manage.py createsuperuser
Username: admin
Email address: [email protected]
Password:
Password (again):
Error: Your passwords didn't match.
Password:
Password (again):
Error: Your passwords didn't match.
Password:
Password (again):
This password is too short. It must contain at least 8 characters.
This password is too common.
This password is entirely numeric.
Password:
Password (again):
Superuser created successfully.

访问后台

http://127.0.0.1:8000/admin/

你可能感兴趣的:(Django后台管理(1)-创建后台)