First time here? Check out the FAQ!
1

I can't login with the uder I created.

Hello again. I just installed the askbot in my computer. When I did the syncdb command, I was asked to create a super user, and I did. But now that askbot is running, I don't see where I can login.

jeremy's avatar
133
jeremy
asked 2010-06-09 19:05:01 -0500
edit flag offensive 0 remove flag close merge delete

Comments

By the way, it was very hard to install, I have to install at least 20 different things.
jeremy's avatar jeremy (2010-06-09 19:05:41 -0500) edit
Hey, I hear you. easy_install will be implemented this week will resolve this superuser login issue today.
Evgeny's avatar Evgeny (2010-06-09 19:50:48 -0500) edit
you also need to run command "python manage.py migrate forum" I hope you did that too.
Evgeny's avatar Evgeny (2010-06-09 20:23:06 -0500) edit
add a comment see more comments

1 Answer

0

I've added commands add_admin and remove_admin to the forum.

So turn user into a super user you will need to type:

python manage.py add_admin <id>

where <id> is numeric id of the user, which you can get from the url in his/her account. There is a complimentary remove_admin command (the user is not deleted, only admin status is removed).

You only need to do this for the first admin user, later you can access the django admin interface at url /admin and do those things more conviniently.

The admin that you've created in the beginning will not work - just say 'no' when you run syncdb, will update the manual tomorrow.

One last thing, the "advanced" admin interface - with site settings is still in the experimental branch and I hope to finally merge it to the master this weekend.

Evgeny's avatar
13.2k
Evgeny
updated 2010-06-10 01:10:13 -0500, answered 2010-06-10 01:08:38 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments