(cls, token, template, bound_variable)
return cls(template, {bound_variable: variable_name})
Helper function to create a TemplateNode by parsing a tag.

    Args:
      token: (django.template.Token) the token holding this tag
      template: (str) The template name
      bound_variable: (str) the name of a variable to set in the context when
          we invoke the template.

    Returns:
      a TemplateNode
Helper function to create a TemplateNode by parsing a tag.
Helper function to create a TemplateNode by parsing a tag .
def CreateTemplateNode(cls, token, template, bound_variable):
    """Helper function to create a TemplateNode by parsing a tag.

    Args:
      token: (django.template.Token) the token holding this tag
      template: (str) The template name
      bound_variable: (str) the name of a variable to set in the context when
          we invoke the template.

    Returns:
      a TemplateNode
    """
    variable_name = _GetArgFromToken(token)
    return cls(template, {bound_variable: variable_name})
def CreateTemplateNode ( cls , token , template , bound_variable ) : variable_name = _GetArgFromToken ( token ) return cls ( template , { bound_variable : variable_name } )