views:

18

answers:

1

How can I access my request.params post data from my Mako template with Pylons?

+1  A: 

Same as in the controller.

${request.params['my_param']}

or preferably:

${request.params.get('my_param', '')}
Antoine Leclair
Thanks. I had to import it first, though. from pylons import request
Matt H