Search code examples
djangoauthenticationpermissionspasswordsdjango-admin

How to reset Django admin password?


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 remove admin status?


Solution

  • python manage.py changepassword <user_name>
    

    see docs