#NEWLINE# def render_tag( self , context , name , variable , inner_nodelist , nodelist ) : #NEWLINE# #INDENT# rendered_contents = nodelist . render ( context ) #NEWLINE# varname = get_varname ( ) #NEWLINE# data = context [ varname ] [ name ] #NEWLINE# context . push ( ) #NEWLINE# context [ variable ] = inner_contents #NEWLINE# inner_contents = inner_nodelist . render ( context ) #NEWLINE# context . pop ( ) #NEWLINE# return ( '%s\n%s' % ( inner_contents , rendered_contents ) )