On Sep 22, 4:48 pm, Bradley Hintze <[email protected]>
wrote:
> I am getting an ''ifequal' takes two arguments' error for this line:
>
> {% ifequal {{ param2_trunc_new.3.0 }} {{ param2.4.1 }} %}
>
> I believer those are indeed two arguments. What going on here?
>
> --
> Bradley J. Hintze

Don't put arguments within variable delimiters:

    {% ifequal param2_trunc_new.3.0 param2.4.1 %}

In any case, in Django 1.2+ you can do this:

    {% if param2_trunc_new.3.0 != param2.4.1 %}

--
DR.

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

Reply via email to