[Answered ]-How to insert return value from templatetag to {% if

2👍

You can’t. Have your tag set a variable in the context, and use that variable instead.

Leave a comment