How to reset Django admin password?

IamH1kc picture IamH1kc · Jun 15, 2011 · Viewed 334.9k times · Source

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?

Answer

JamesO picture JamesO · Jun 15, 2011
python manage.py changepassword <user_name>

see docs