Ask Your Question
1

How can you create an admin?

asked 2014-01-03 01:46:20 -0600

apg gravatar image

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.

edit retag flag offensive 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 gravatar imageLurker ( 2014-09-05 13:20:40 -0600 )edit

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

Lurker gravatar imageLurker ( 2014-09-05 13:21:40 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-05 13:21:01 -0600

Lurker gravatar image

updated 2014-09-24 00:39:00 -0600

Evgeny gravatar image

This worked for me:

python manage.py add_admin <user id>
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-01-03 01:46:20 -0600

Seen: 359 times

Last updated: Sep 24 '14