-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: upgrading mark_student_can_skip_entrance_exam api with DRF ( 21 ) #35460
base: master
Are you sure you want to change the base?
Conversation
@@ -3165,6 +3165,42 @@ def mark_student_can_skip_entrance_exam(request, course_id): | |||
return JsonResponse(response_payload) | |||
|
|||
|
|||
@method_decorator(cache_control(no_cache=True, no_store=True, must_revalidate=True), name='dispatch') | |||
class MarkStudentCanSkipEntranceExam(APIView): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awais786 should there be an old function that is deleted? I don't see the deletion here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i missed that. Thanks for catching.
@feanil please review. |
#35284
Postman testing
unique_student_identifier
=admin
expected result
{ "message": "This student (admin) is already allowed to skip the entrance exam." }
end to end testing
username
inAdjust a learner's entrance exam results
input boxLet Learner Skip Entrance Exam
button.