Skip to content

Commit

Permalink
Merge pull request #6 from edx/lms-opaque-keys-only
Browse files Browse the repository at this point in the history
wiki_slug formating error correction in views/course.py create_new_course
  • Loading branch information
cpennington committed Jun 26, 2014
2 parents e0026b8 + 17d5af4 commit 310d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/views/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def create_new_course(request):
# existing xml courses this cannot be changed in CourseDescriptor.
# # TODO get rid of defining wiki slug in this org/course/run specific way and reconcile
# w/ xmodule.course_module.CourseDescriptor.__init__
wiki_slug = u"{0}.{1}.{2}".format(org, course, run)
wiki_slug = u"{0}.{1}.{2}".format(org, number, run)
definition_data = {'wiki_slug': wiki_slug}

# Create the course then fetch it from the modulestore
Expand Down

0 comments on commit 310d0f2

Please sign in to comment.