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