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?

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