@register.tag
def jstemplate(parser, token):
 nodelist = parser.parse(('endjstemplate',))
 parser.delete_first_token()
 return JSTemplateNode(nodelist)

@ register . tag def jstemplate ( parser , token ) : nodelist = parser . parse ( ( 'endjstemplate' , ) ) parser . delete_first_token ( ) return JSTemplateNode ( nodelist )
replaces [[[ and ]]] with {{{ and }}} .