1 2 3 4 5 6 7
from django import template register = template.Library() @register.simple_tag def echo2(arg): return arg