Its also important to use {% endifequal %} So...went passing to HTML 
templates

{% ifequal rowvalue "Blue" %}
   <p> Its Blue <p>
{% endifequal %}

L.

On Sunday, 3 January 2010 17:34:22 UTC, Biju Varghese wrote:
>
> hi
>    If you want to compare the value you have to use ifequal or
> ifnotequal tag in template language. if you use "if"
> this will check only weather  the variable is empty or not....
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/UAs8OTCpgI0J.
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/django-users?hl=en.

Reply via email to