how do use a custom tag inside an if tag?
ex: {% if {%customTag x y z %} == "Success" %}
...
my custom_field_tag:
@register.simple_tag
def customTag(x,y,z):
r=x+y+z
if r ==3:
return "Success"
else:
return "Wrong"