I have a simple Flask app that contains a few basic views. One of these views is called result. What it does is grabs the URL parameters using GET, then does a bunch of operations using the parameters, and finally renders the template using render_template() and passes it the calculated values.
On rendering, the result URL looks something like this:
http://127.0.0.1:5000/result?s=abcd&t=wxyz
What I want to do is instead of rendering the template under the result view, I'd like to redirect to a new view (let's call it final), passing the calculated values along with the redirect, and render the template from there. Why do all this? Because I'd like the final URL to look like this instead:
http://127.0.0.1:5000/final/abcd
I'm sorry if the title is a bit vague.