@require_POST
@login_required
def request_course_creator(request):
 user_requested_access(request.user)
 return JsonResponse({'Status': 'OK'})

@ require_POST @ login_required def request_course_creator ( request ) : user_requested_access ( request . user ) return JsonResponse ( { 'Status' : 'OK' } )
user has requested course creation access .