예제 #1
0
 def get(self, request, course_id):
     """Implements the GET method as described in the class docstring."""
     course_key = CourseKey.from_string(
         course_id)  # TODO: which class is right?
     return Response(get_course(request, course_key))
예제 #2
0
 def get(self, request, course_id):
     """Implements the GET method as described in the class docstring."""
     course_key = CourseKey.from_string(course_id)  # TODO: which class is right?
     return Response(get_course(request, course_key))