Revision history [back]
can I add users from command line to a group?
I need to add 1000 users for this schoolyear. I want to add them to the group "grp2016." I want to do this from commandline. I tried the following, but it doesn't work
python manage.py add_askbot_user --user-name abc --email abc@abc.com --password 123 --group XYZ
If it is not possible. And let's assume that person1 has userid 1000. Can I do some SQL command loop with postgresql that loops over (userid1000 -> userid1234) and adds them under group "grp2016"?
Thanks in advance
can I add users from command line to a group?
I need to add 1000 users for this schoolyear. I want to add them to the group "grp2016." I want to do this from commandline. I tried the following, but it doesn't work
python manage.py add_askbot_user --user-name abc --email
abc@abc.com --passwordabc@abc.com--password 123 --group XYZ
If it is not possible. And let's assume that person1 has userid 1000. Can I do some SQL command loop with postgresql that loops over (userid1000 -> userid1234) and adds them under group "grp2016"?
Thanks in advance