Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

django add csrf token to formdata

formData.append('csrfmiddlewaretoken', '{{ csrf_token }}');
 
PREVIOUS NEXT
Tagged: #django #add #csrf #token #formdata
ADD COMMENT
Topic
Name
6+3 =