Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

disable csrf token django

from django.views.decorators.csrf import csrf_exempt

@csrf_exempt
def my_view(request):
    return HttpResponse('Hello world')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #csrf #token #django
ADD COMMENT
Topic
Name
4+7 =