from django.views.decorators.csrf import csrf_exemp
from django.views.decorators.csrf import csrf_exempt @csrf_exempt def xyx(request): pass