Jyoti,

Dankon, that is a great resource.

Thanks again

On Fri, Mar 20, 2009 at 5:07 PM, Jyoti Shete-Javadekar <
[email protected]> wrote:

> use ifequal
>
> {% ifequal AccountData.AccountType "Current" %}
>     ...{% endifequal %}
>
>
> please rever to
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs for
> more details
>
> On Fri, Mar 20, 2009 at 1:12 PM, Ronn Ross <[email protected]> wrote:
>
>> I'm trying to use a conditional statement in django template. Like so:{%
>> if AccountData.AccountType == "Current" %}
>>            <b>Account is current</b>
>> {% endif %}
>>
>>  GAE is throwing this error:
>>
>> TemplateSyntaxError: 'if' statement improperly formatted
>> {% if (AccountData.AccountType == "Current") %}
>>
>> Can someone help?
>>
>>
>>
>
>
> --
> -Jyoti
> www.videonym.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to