Pylons + Mako -- Access POST data from templates
How 开发者_如何学Pythoncan I access my request.params post data from my Mako template with Pylons?
Same as in the controller.
${request.params['my_param']}
or preferably:
${request.params.get('my_param', '')}
精彩评论