Django初始化创建用户名
(venv) D:\project\py37project\Djangopro\Procrm>Python manage.py createsuperuser #这是创建Django初始化用户名跟密码的一个命令。
示例如下:
Username (leave blank to use 'administrator'): admin
Email address: 2180633571@qq.com
Password:
Password (again):
This password is too common.
Bypass password validation and create user anyway? [y/N]: y
Superuser created successfully.