Django dodaj token CSRF do formdata
formData.append('csrfmiddlewaretoken', '{{ csrf_token }}');
Wide-eyed Warbler
formData.append('csrfmiddlewaretoken', '{{ csrf_token }}');