#NEWLINE# def render( self , name , value , attrs = None , **kwargs ) : #NEWLINE# #INDENT# template_name = kwargs . pop ( 'template_name' , None ) #NEWLINE# if ( template_name is None ) : #NEWLINE# #INDENT# template_name = self . template_name #NEWLINE# #UNINDENT# context = self . get_context ( name , value , attrs = ( attrs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , ** kwargs ) #NEWLINE# context = flatten_contexts ( self . context_instance , context ) #NEWLINE# return loader . render_to_string ( template_name , context )