Answers for "disable csrf token django"

0

disable csrf token django

from django.views.decorators.csrf import csrf_exempt

@csrf_exempt
def my_view(request):
    return HttpResponse('Hello world')
Posted by: Guest on September-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language