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: 552 times
Last updated: Aug 07 '12
How can i make somebody moderator
startforum:command not found error
NameError: name 'Command' is not defined when run fix_question_tags
Does manage.py fix_question_tags work?
SQL command to delete all users with karma 1
RECAPTCHA_USE_SSL = True in settings.py?