passing variables to a template on a redirect in python
The easiest way is to use HTML forms, the POST request for submitting the form should include the values on the submit.
I am relatively new to Python so please excuse any naive questions.
I have a home page with 2 inputs, one for a "product" and one for an "email." When a user clicks submit they should be sent to "/success" where it will say:
You have requested "product"
You will be notified at "email"
I am trying to figure out the best way to pass the "product" and "email" values through the redirect into my "/success" template. I am using webapp2 framework and jinja within Google App Enginge.
Thanks