Pylons + Mako — Access POST data from templates
Question
How can I access my request.params post data from my Mako template with Pylons?
Solution
Same as in the controller.
${request.params['my_param']}
or preferably:
${request.params.get('my_param', '')}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow