开发者

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', '')}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜