Create user from console

27 views
Skip to first unread message

Luis Miguel Cabezas Granado

unread,
Apr 19, 2018, 6:58:08 AM4/19/18
to General Open edX discussion
Hello,

I wat to create an user from console. The username must be email.

This is my command:

python manage.py lms --settings aws create_user -p prueba2 -u pru...@juntaex.es -e pru...@juntaex.es -n "Prueba Dos" -c "course-v1:EAP+B.134.01+2018.00"

I have an error:

raise ValidationError(errors)django.core.exceptions.ValidationError: {'username': [u'Los nombres de usuario solo deben contener letras, n\xfameros (0-9), guiones bajos (_) y guiones (-).']}


how can I add users to Open EDX with email?

Thanks!

andrey....@raccoongang.com

unread,
Apr 20, 2018, 9:10:40 AM4/20/18
to General Open edX discussion
Hello!

according to https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/60227913/Managing+OpenEdX+Tips+and+Tricks

sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms manage_user newuser new...@example.com --settings=aws
sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms changepassword newuser --settings=aws
Reply all
Reply to author
Forward
0 new messages