Is there any django command to set a user as moderator?
Something like this:
python manage.py set_moderator --username 'frank'
Something like this:
python manage.py set_moderator --username 'frank'
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
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-08-07 07:44:10 -0500
Seen: 597 times
Last updated: Aug 07 '12