Commit 367f024d by Tyler Hallada

Use old-style course ID for fake data in Travis

Also change option name course_id to course-id to consistently use hyphens in
option parameters.
parent e147b58b
...@@ -70,4 +70,4 @@ demo: clean requirements loaddata ...@@ -70,4 +70,4 @@ demo: clean requirements loaddata
travis: clean test.requirements migrate travis: clean test.requirements migrate
python manage.py set_api_key edx edx python manage.py set_api_key edx edx
python manage.py loaddata problem_response_answer_distribution --database=analytics python manage.py loaddata problem_response_answer_distribution --database=analytics
python manage.py generate_fake_course_data --num-weeks=1 --no-videos python manage.py generate_fake_course_data --num-weeks=1 --no-videos --course-id "edX/DemoX/Demo_Course"
...@@ -45,7 +45,7 @@ class Command(BaseCommand): ...@@ -45,7 +45,7 @@ class Command(BaseCommand):
help='Number of weeks worth of data to generate.', help='Number of weeks worth of data to generate.',
) )
parser.add_argument( parser.add_argument(
'--course_id', '--course-id',
action='store', action='store',
dest='course_id', dest='course_id',
default='course-v1:edX+DemoX+Demo_Course', default='course-v1:edX+DemoX+Demo_Course',
......
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