Ask Your Question
2

Is there any django command to set a user as moderator?

asked 2012-08-07 07:44:10 -0600

ant30 gravatar image

Something like this:

python manage.py set_moderator --username 'frank'

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-08-07 08:11:11 -0600

Evgeny gravatar image

updated 2012-08-07 08:12:07 -0600

We don't have it at the moment, but it would be very easy to create.

We have add_admin and remove_admin, but probably it would have more sense to have a more general set_user_status.

Take a look at askbot/management/commands/add_admin.py

edit flag offensive delete link more

Comments

Thanks, I just create a django management command for that.

ant30 gravatar imageant30 ( 2012-08-08 02:16:53 -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

1 follower

Stats

Asked: 2012-08-07 07:44:10 -0600

Seen: 208 times

Last updated: Aug 07 '12