Hi all
i have a custom template tag that takes some argument and calculates the
result.
I want to compare that value obtained from that custom tag with another
variable.
Custom template tag
{% price_for_pax service pax '' %}
variable :
{{service.price}}
What i want is {% if service.price == price_for_pax service pax ' ' %}
do something
{% endif %}
When i look for the result it does not show anything
Can i compare like this ? If not what can be the solution ?
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
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.