In heavy_data.js your overriding the cookie which is used for CSRF in django forms. Form submission fails with: Forbidden (403) CSRF verification failed. Request aborted. Reason given for failure: CSRF cookie not set.