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 committed Oct 9, 2024
1 parent 6d51145 commit 075b547
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lms/djangoapps/instructor/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2028,9 +2028,6 @@ def post(self, request, course_id):
student = serializer_data.validated_data.get("unique_student_identifier")
student_identifier = request.data.get("unique_student_identifier")

import pdb;
pdb.set_trace()

if all_students and not has_access(request.user, 'instructor', course):
return HttpResponseForbidden("Requires instructor access.")

Expand Down

0 comments on commit 075b547

Please sign in to comment.