First time here? Check out the FAQ!
2

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

Something like this:

python manage.py set_moderator --username 'frank'

ant30's avatar
21
ant30
asked 2012-08-07 07:44:10 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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

Evgeny's avatar
13.2k
Evgeny
answered 2012-08-07 08:11:11 -0600, updated 2012-08-07 08:12:07 -0600
edit flag offensive 0 remove flag delete link

Comments

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

ant30's avatar ant30 (2012-08-08 02:16:53 -0600) edit
add a comment see more comments