Ask Your Question

Unable to login to my askbot site as admin

asked 2012-07-26 23:45:10 -0600

pajju's avatar


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

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

edit retag flag offensive 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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-28 15:44:51 -0600

Evgeny's avatar

updated 2012-07-28 16:24:26 -0600

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()
edit flag offensive delete link more


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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-26 23:45:10 -0600

Seen: 17,676 times

Last updated: Jul 28 '12