On Tue, Feb 23, 2010 at 2:22 PM, Armin Ronacher <[email protected]
> wrote:

> Hi,
>
>
> On 23.02.2010 04:57, kevin wrote:
>
>> http://jinja.pocoo.org/2/documentation/templates#line-statements
>> how do i do it?
>>
> Just set the linestatement_prefix when creating your template environment:
>
> http://jinja.pocoo.org/2/documentation/api#jinja2.Environment
>
thanks a lot for this!


is it possible to get the same behavior as Cheetah for variables?
I tried these two settings

variable_start_string="$", variable_end_string=""


and i am getting the error below

  File "templates/connect/index.html", line 25, in template
    $name
TemplateSyntaxError: Expected an expression, got 'end of print statement'

-- 
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.

Reply via email to