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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jeremy's avatar
133
jeremy
asked 14 years ago

Comments

By the way, it was very hard to install, I have to install at least 20 different things.
jeremy's avatar jeremy (14 years ago)
Hey, I hear you. easy_install will be implemented this week will resolve this superuser login issue today.
Evgeny's avatar Evgeny (14 years ago)
you also need to run command "python manage.py migrate forum" I hope you did that too.
Evgeny's avatar Evgeny (14 years ago)
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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

see more comments