diff options
Diffstat (limited to 'api/views.py')
-rw-r--r-- | api/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/views.py b/api/views.py index 5bbc077..550ee6d 100644 --- a/api/views.py +++ b/api/views.py @@ -384,7 +384,7 @@ class QuestionPaperDetail(APIView): return Response(status=status.HTTP_204_NO_CONTENT) -class ICourse(APIView): +class GetCourse(APIView): def get(self, request, pk, format=None): course = Course.objects.get(id=pk) serializer = CourseSerializer(course) |