How to reset Django admin password?

前端 未结 21 1861
遥遥无期
遥遥无期 2020-12-12 08:39

I am using Django (version 1.3) and have forgotten both admin username and password. How to reset both?

And is it possible to make a normal user into admin, and then

21条回答
  •  误落风尘
    2020-12-12 09:25

    You may try this:

    1.Change Superuser password without console

    python manage.py changepassword 
    

    2.Change Superuser password through console

提交回复
热议问题