Désactiver le CSRF pour une URL Django
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def xyx(request):
#your code
#this makes the function accept post request without csrf token
#use it just for quick check or for operations where csrftoken authentication
#isn't required
Tall mouse