parameters: (parser, token)
return_statement: return AssignNode(bits[1], value)
docstring: Assign an expression to a variable in the current context.
  	
  	Syntax::
  		{% assign [name] [value] %}
  	Example::
  		{% assign list entry.get_related %}
docstring_summary: Assign an expression to a variable in the current context.
  	
  	Syntax::
  		{% assign [name] [value] %}
  	Example::
  		{% assign list entry.get_related %}
docstring_tokens: Assign an expression to a variable in the current context . Syntax :: { % assign [ name ] [ value ] % } Example :: { % assign list entry . get_related % }
function: def do_assign(parser, token):
  	"""
  	Assign an expression to a variable in the current context.
  	
  	Syntax::
  		{% assign [name] [value] %}
  	Example::
  		{% assign list entry.get_related %}
  		
  	"""
  	bits = token.contents.split()
  	if len(bits) != 3:
  		raise template.TemplateSyntaxError("'%s' tag takes two arguments" % bits[0])
  	value = parser.compile_filter(bits[2])
  	return AssignNode(bits[1], value)
function_tokens: def do_assign ( parser , token ) : bits = token . contents . split ( ) if len ( bits ) != 3 : raise template . TemplateSyntaxError ( "'%s' tag takes two arguments" % bits [ 0 ] ) value = parser . compile_filter ( bits [ 2 ] ) return AssignNode ( bits [ 1 ] , value )