(parser, token)
return IndentNode(nodelist, levels)
Increase the indent level for indenting.

  Usage:
    {% indent [levels] %} text... {% endindent %}
    Increase the indent on all lines of text by levels * LEVEL_INDENT

  Args:
    parser: (parser) the Django parser context.
    token: (django.template.Token) the token holding this tag

  Returns:
    a IndentNode
Increase the indent level for indenting.
Increase the indent level for indenting .
def DoIndent(parser, token):
  """Increase the indent level for indenting.

  Usage:
    {% indent [levels] %} text... {% endindent %}
    Increase the indent on all lines of text by levels * LEVEL_INDENT

  Args:
    parser: (parser) the Django parser context.
    token: (django.template.Token) the token holding this tag

  Returns:
    a IndentNode
  """
  try:
    unused_tag_name, levels = token.split_contents()
  except ValueError:
    # No level, default to 1
    levels = 1
  nodelist = parser.parse(('endindent',))
  parser.delete_first_token()
  return IndentNode(nodelist, levels)
def DoIndent ( parser , token ) : try : unused_tag_name , levels = token . split_contents ( ) except ValueError : # No level, default to 1 levels = 1 nodelist = parser . parse ( ( 'endindent' , ) ) parser . delete_first_token ( ) return IndentNode ( nodelist , levels )