raise an TemplateSyntaxError exception with an argument string "Invalid templatetag argument: '%s'. Must be one of: %s",
raise TemplateSyntaxError ( "Invalid templatetag argument: '%s'." " Must be one of: %s" % ( tag , list ( TemplateTagNode . mapping ) ) )