First time here? Check out the FAQ!

Unable to login to my askbot site as admin


I'm unable to login back to my askbot site as admin.

Is this an issue with cache? or is this a bug? Thanks.

pajju's avatar
asked 2012-07-26 23:45:10 -0500
edit flag offensive 0 remove flag close merge delete


What happens when you try to log in? Are other users able to log in?

todofixthis's avatar todofixthis (2012-07-27 08:44:13 -0500) edit

Yea others can login. But only admin can't. I'm struck. @Evgeny how to reset or make it fix?

pajju's avatar pajju (2012-07-27 13:59:37 -0500) edit

How did you log in to you admin account? With password or other method? Which? Try to recover your account by email.

Evgeny's avatar Evgeny (2012-07-27 14:55:54 -0500) edit

I login with a password. Also I had not configured emails so i don't have option for recovery. @Evgeny

pajju's avatar pajju (2012-07-28 12:57:22 -0500) edit
add a comment see more comments

1 Answer


Do you have a hosted site at, if so, then tell which site and I will help you. Most likely you've made the typo in your password the first tim or forgot it.

If you are hosting your own site then you can do this:

python shell
>>> from django.contrib.auth.models import User
>>> me = User.objects.get(username='myusername')
>>> me.set_password('my_new_password')
>>> exit()
Evgeny's avatar
answered 2012-07-28 15:44:51 -0500, updated 2012-07-28 16:24:26 -0500
edit flag offensive 0 remove flag delete link


Fine! Changed admin password, but I'm still not able to login to /admin (Django administration), is it right? Another admin user?

carloreggiani's avatar carloreggiani (2018-01-11 10:41:51 -0500) edit
add a comment see more comments