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 Aug 8, 2024
1 parent 0734551 commit 4d12abd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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 @@ -980,6 +980,7 @@ def bulk_beta_modify_access(request, course_id):
}
return JsonResponse(response_payload)


@method_decorator(cache_control(no_cache=True, no_store=True, must_revalidate=True), name='dispatch')
class ModifyAccess(APIView):
"""
Expand Down
2 changes: 0 additions & 2 deletions lms/djangoapps/instructor/views/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ def validate_unique_student_identifier(self, value):
return None

return user


0 comments on commit 4d12abd

Please sign in to comment.