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
Another thing that is worth noting is to set your user's status is_staff
as active. At least, that's what makes it works for me. For more detail, I created another superuser
as people explained above. Then I go to the database table auth_user
and search for that username to make sure its is_staff
flag is set to 1
. That finally allowed me to log into admin
site.