Django Ajouter un jeton CSRF à FormData
formData.append('csrfmiddlewaretoken', '{{ csrf_token }}');
Wide-eyed Warbler
formData.append('csrfmiddlewaretoken', '{{ csrf_token }}');