#NEWLINE# def render( self , template_name , * args , **kwargs ) : #NEWLINE# #INDENT# loader = FileLoader ( self . template_dirs [ 0 ] ) #NEWLINE# template = loader . load_template ( template_name ) #NEWLINE# return template . render ( kwargs , loader = loader ) . encode ( 'utf-8' )