Recover admin username and password

45 views
Skip to first unread message

Safaet Jaman

unread,
Aug 3, 2023, 3:56:23 AM8/3/23
to Django users
I've delete my user admin. I've another two user but i can't login django admin pannel to use these. Screenshot from 2023-08-03 13-55-22.png

wongX Ndeso

unread,
Aug 3, 2023, 4:21:52 AM8/3/23
to django...@googlegroups.com
Just login to your server, activate the environment and run createsuperuser to create new superuser account

On Thu, Aug 3, 2023, 14:56 Safaet Jaman <safae...@gmail.com> wrote:
I've delete my user admin. I've another two user but i can't login django admin pannel to use these. Screenshot from 2023-08-03 13-55-22.png

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bdaaab42-6f29-45ed-99b3-9b05b62588b6n%40googlegroups.com.

Safaet Jaman

unread,
Aug 3, 2023, 4:39:34 AM8/3/23
to Django users
Thank you!  it worked

Maghav Ahuja

unread,
Aug 3, 2023, 9:24:35 AM8/3/23
to Django users
You can create another superuser from cmd. Use the command: django-admin createsuperuser name_of_the_user
After creating, login from the new user and reset the passwords
Reply all
Reply to author
Forward
0 new messages