turn off csrf

This commit is contained in:
Martin Quarda 2024-10-10 10:48:16 +02:00
parent c49668356e
commit f9c52e9aeb

View File

@ -180,6 +180,7 @@ def login_status(request):
}), content_type='application/json')
@csrf_exempt
def change_racer(request):
try:
if request.user != racer.profile.user: