On Wed, Feb 24, 2010 at 2:37 AM, kevin <[email protected]> wrote:
> i am getting the error TemplateSyntaxError: expected token 'end of
> statement block', got 'string'
> on this template :
>
> {% set url='http://apps.facebook.com/abdc' %}
> {% set x='''
> <fb:req-choice url='%s'>
> ''' % (url) %}
>
>
As much as Jinja reminds you of Python, it is not actually Python, so I
wouldn't be surprised if this multi-line string business was not valid in
Jinja.
-A
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.