@register.simple_tag(takes_context=True)
def escape_explicit(context):
 return escape('Hello {0}!'.format(context['name']))

@ register . simple_tag ( takes_context = True ) def escape_explicit ( context ) : return escape ( 'Hello {0}!' . format ( context [ 'name' ] ) )
a tag that uses escape explicitly .