django管理后台添加admin账号

直接用命令行添加即可:python manage.py createsuperuser

# python manage.py createsuperuser
Username (leave blank to use 'root'): admin
Email address: admin@runoob.com
Password:
Password (again):
Superuser created successfully.
[root@solar HelloWorld]#
上一篇:CentOS安装与配置Powerline插件


下一篇:读书笔记——OpenGL超级宝典