直接用命令行添加即可: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]#

 

相关文章:

  • 2021-11-21
  • 2021-11-21
  • 2021-04-04
  • 2021-12-28
  • 2021-08-27
  • 2022-12-23
  • 2021-08-09
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2021-11-21
  • 2022-01-21
  • 2021-09-10
  • 2022-12-23
相关资源
相似解决方案