How to reset Django admin password?

Submitted 3 years, 6 months ago
Ticket #245
Views 293
Language/Framework Django
Priority Medium
Status Closed

I  am using Django (version 3.1) 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?

Submitted on Oct 19, 20
add a comment

2 Answers

Create another super user and login django admin panel using newly created super user. Then search your old username and reset it's password

Submitted 3 years, 6 months ago


Verified

 

python manage.py changepassword <user_name>

Submitted 3 years, 6 months ago


Latest Blogs