Jun-28-2018, 10:08 PM
I am Not using django or flask. How to redirect to outside URL. Such as google com or /index.html This code does not work.
return { Location : "/thank-you.html" }
I want the equivalent of
return HttpResponseRedirect('/thanks/') #Redirect after POST
I can't use javascript for this. The script needs to run completely. As of right now users are sent to the python.script.url and thats all. I need them to go to a different one.
return { Location : "/thank-you.html" }
I want the equivalent of
return HttpResponseRedirect('/thanks/') #Redirect after POST
I can't use javascript for this. The script needs to run completely. As of right now users are sent to the python.script.url and thats all. I need them to go to a different one.