First time here? Check out the FAQ!
1

How can you create an admin?

I have installed Askbot and registered two users. Neither of them seems to be an admin because I do not see admin only features such as settings link at the top of the page. So do I really have no admin? If so, how can I create one?

I am sure that I only have two users and no one else because when I went into shell and printed out

User.objects.all()

I only get exactly two users neither of whom is an admin.

apg's avatar
167
apg
asked 2014-01-03 01:46:20 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I wonder why I cannot post an answer ... the page refreshes and I get the same state as before hitting Post Your Answer

Lurker's avatar Lurker (2014-09-05 13:20:40 -0500) edit

Could it be because I have little karma and the answer contained a link?

Lurker's avatar Lurker (2014-09-05 13:21:40 -0500) edit
add a comment see more comments

1 Answer

1

This worked for me:

python manage.py add_admin <user id>
Lurker's avatar
26
Lurker
answered 2014-09-05 13:21:01 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2014-09-24 00:39:00 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments