Skip to content

Commit

Permalink
feat!: upgrading api to DRF.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 authored and feanil committed Nov 14, 2024
1 parent 4c6cccf commit 1541862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lms/djangoapps/instructor/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3550,6 +3550,7 @@ class GenerateBulkCertificateExceptions(APIView):
permission_classes = (IsAuthenticated, permissions.InstructorPermission)
permission_name = permissions.GENERATE_BULK_CERTIFICATE_EXCEPTIONS

@method_decorator(ensure_csrf_cookie)
def post(self, request, course_id):
"""
Arguments:
Expand Down

0 comments on commit 1541862

Please sign in to comment.