我用的是django-1.10.2版本。
在创建sqlite数据库admin用户时创建用户和密码的方法
G:\python\code\Test>python manage.py createsuperuser
Username (leave blank to use 'sh'):
Email address: test@sh.com
Password:
Password (again):
Error: Your passwords didn't match.
Password:
Password (again):
The password is too similar to the email address.
This password is too short. It must contain at least 8 characters.
Password:
Password (again):
Error: Your passwords didn't match.
Password:
Password (again):
This password is too common. #设置12345678时的提示
This password is entirely numeric.
Password:
Password (again):
Superuser created successfully.