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 28, 2024
1 parent c2c376e commit 8fa3f04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lms/djangoapps/instructor/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,6 @@ def post(self, request, course_id):
except Exception as error: # pylint: disable=broad-except
return JsonResponse({'error': str(error)}, status=400)


return JsonResponse(_(
'Successfully changed due date for student {0} for {1} '
'to {2}').format(student.profile.name, _display_unit(unit),
Expand Down

0 comments on commit 8fa3f04

Please sign in to comment.