I'm not sure you can pass 'delimiters' to response.render() -- you might 
have to follow this method: 
https://groups.google.com/d/topic/web2py/4IFFE-7vq1I/discussion.
 
Anthony

On Monday, July 18, 2011 9:29:01 PM UTC-4, elffikk wrote:

> you can change template delimiters 
>
> in controller
> def myf():
>     return response.render('myf.html', delimiters=('{%','%}')) 
>
> now you can use python code in myf.html 
>
> {%if True:%}It works! {%pass%}
>

Reply via email to