Ask Your Question

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

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

ant30's avatar

Something like this:

python set_moderator --username 'frank'

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-08-07 08:11:11 -0500

Evgeny's avatar

updated 2012-08-07 08:12:07 -0500

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/

edit flag offensive delete link more


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

ant30's avatar ant30  ( 2012-08-08 02:16:53 -0500 )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


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

Seen: 597 times

Last updated: Aug 07 '12