[Fixed]-Django-Class based template HttpResponseRedirect does not redirect to desire page

1๐Ÿ‘

โœ…

I already found the answer. The problem is the post request did not come from django form. It came from Dropzone.js that using Ajax to send post request after uploaded. That why I could not redirect to another url after processing post method. By changing onsuccess event from Dropzone or create a Django form, I can successfully redirect to result page using code in my question. Thank you to one of my friends

Leave a comment