Skip to content

Commit

Permalink
feat: upgrading simple api to drf compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Jul 30, 2024
1 parent cbb2a45 commit 8e0ce3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/instructor/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,7 @@ def modify_access(request, course_id):
}
return JsonResponse(response_payload)


def verify_course_permission(permission):
"""
Decorator with argument that requires a specific permission of the requesting
Expand Down Expand Up @@ -1145,7 +1146,6 @@ def post(self, request, course_id):
return Response(response_payload, status=status.HTTP_200_OK)



class ProblemResponseReportPostParamsSerializer(serializers.Serializer): # pylint: disable=abstract-method
"""
Serializer that describes that POST parameters for the report generation API.
Expand Down

0 comments on commit 8e0ce3d

Please sign in to comment.