Hi there,
I'm trying to do something quite simple within my html using ifnotequal (dj
0.96). The code within my html is as follows:
{% ifnotequal {{the_types.0}} "Nothing dude" %}
<p>{{the_types.0}}</p>
{% endifnotequal %}
This returns the contents of the_types.0 whether or not the string "Nothing
dude" does equals {{the_types.0}}. In other words the if statement might as
well not be there...
Any ideas as to what I'm doing wrong?
Cheers,
Aaron
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.