忘记密码
from django.contrib.auth.models import User user =User.objects.get(username='admin') user.set_password('new_password')
user.aave()
创建超级用户
python manage.py createsuperuser

相关文章:

  • 2021-06-07
  • 2021-04-15
  • 2022-12-23
  • 2022-01-23
  • 2021-09-04
  • 2021-11-27
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案