Ejemplo n.º 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))
Ejemplo n.º 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))