So I have a form and I\'m submitting the form through ajax using jquery serialization function
serialized = $(Forms).serialize(); $.ajax({
var form = $('#job-request-form')[0]; var formData = new FormData(form); event.preventDefault(); $.ajax({ url: "/send_resume/", // the endpoint type: "POST", // http method processData: false, contentType: false, data: formData,
It worked for me! just set processData and contentType False.