1. 程式人生 > >django管理後臺新增admin賬號

django管理後臺新增admin賬號

直接用命令列新增即可:python manage.py createsuperuser

# python manage.py createsuperuser
Username (leave blank to use 'root'): admin
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.
[[email protected] HelloWorld]#