Commit c235ad70 by Varun Gupta

ensure that course_about uses a valid course ID

parent ae1853bc
......@@ -580,12 +580,11 @@ class EnrollStaffView(View):
@ensure_csrf_cookie
@ensure_valid_course_key
@cache_if_anonymous()
def course_about(request, course_id):
"""
Display the course's about page.
Assumes the course_id is in a valid format.
"""
course_key = SlashSeparatedCourseKey.from_deprecated_string(course_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