Commit a7b8b3f5 by Phil McGachey

[LTI Provider] Documentation fix

parent 1ea4b8a0
...@@ -201,7 +201,8 @@ def render_courseware(request, lti_params): ...@@ -201,7 +201,8 @@ def render_courseware(request, lti_params):
def parse_course_and_usage_keys(course_id, usage_id): def parse_course_and_usage_keys(course_id, usage_id):
""" """
Convert course and usage ID strings into key objects. Return a tuple of Convert course and usage ID strings into key objects. Return a tuple of
(course_key, usage_key), or (None, None) if the translation fails. (course_key, usage_key), or throw an InvalidKeyError if the translation
fails.
""" """
course_key = CourseKey.from_string(course_id) course_key = CourseKey.from_string(course_id)
usage_id = unquote_slashes(usage_id) usage_id = unquote_slashes(usage_id)
......
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