[Answered ]-Django custom template tags: render method not called

2👍

register.simple_tag is used for tag functions that immediately return the result (Django creates the node for you). If you want to return your own node, use register.tag instead.

Leave a comment