:)
2016-08-08 15:24 GMT+01:00 Massimo Di Pierro :
>
> {{if 'f1' in globals():}} {{pass}}
>
>
> On Monday, 8 August 2016 06:33:55 UTC-5, Ramos wrote:
>>
>> hello i need to check for some vars in my *layout.html*
>>
>> if i have in my controllers return locals()
>>
{{if 'f1' in globals():}} {{pass}}
On Monday, 8 August 2016 06:33:55 UTC-5, Ramos wrote:
>
> hello i need to check for some vars in my *layout.html*
>
> if i have in my controllers return locals()
>
> i can then in the view do
>
> {{if var1 in locals():0}}
>
> ...
> {{pass}}
>
> however
2 matches
Mail list logo