Zakazane (plik cookie CSRF nie ustawiony.) Django REST Framework

from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def sampleFunction(request,**kwargs):
	response = "print("hi")"
    return response
Testy Trout