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
๐คXuan Thuong Tran
Source:stackexchange.com