From 8fa3f044ddbf593876c8bab4514fbc102577b28f Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 28 Aug 2024 21:47:38 +0500 Subject: [PATCH] feat: upgrading simple api to drf compatible. --- lms/djangoapps/instructor/views/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lms/djangoapps/instructor/views/api.py b/lms/djangoapps/instructor/views/api.py index a0359e0615c5..b82f22d2c8bd 100644 --- a/lms/djangoapps/instructor/views/api.py +++ b/lms/djangoapps/instructor/views/api.py @@ -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),