Commit 24524ef3 by John Jarvis

addressing comments

parent 4a910f87
...@@ -8,20 +8,20 @@ from django.contrib.auth.models import User ...@@ -8,20 +8,20 @@ from django.contrib.auth.models import User
class Command(BaseCommand): class Command(BaseCommand):
help = """ help = """
This command creates and registers a user in a given course This command creates and registers a user in a given course
as "audit", "verified_id" or "honor". as "audit", "verified" or "honor".
example: example:
# Enroll a user test@example.com into the demo course # Enroll a user test@example.com into the demo course
# The username and name will default to "test" # The username and name will default to "test"
manage.py ... create_user -e test@example.com -p insecure -c edX/Open_DemoX/edx_demo_course -m verified_id manage.py ... create_user -e test@example.com -p insecure -c edX/Open_DemoX/edx_demo_course -m verified
""" """
option_list = BaseCommand.option_list + ( option_list = BaseCommand.option_list + (
make_option('-m', '--mode', make_option('-m', '--mode',
metavar='ENROLLMENT_TYPE', metavar='ENROLLMENT_MODE',
dest='mode', dest='mode',
default='honor', default='honor',
choices=('audit', 'verified_id', 'honor'), choices=('audit', 'verified', 'honor'),
help='Enrollment type for user for a specific course'), help='Enrollment type for user for a specific course'),
make_option('-u', '--username', make_option('-u', '--username',
metavar='USERNAME', metavar='USERNAME',
...@@ -47,7 +47,7 @@ class Command(BaseCommand): ...@@ -47,7 +47,7 @@ class Command(BaseCommand):
metavar='COURSE_ID', metavar='COURSE_ID',
dest='course', dest='course',
default=None, default=None,
help='course to enroll the user in (optiona)'), help='course to enroll the user in (optional)'),
make_option('-s', '--staff', make_option('-s', '--staff',
metavar='COURSE_ID', metavar='COURSE_ID',
dest='staff', dest='staff',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment