#NEWLINE# def _render( self , context ) : #NEWLINE# #INDENT# ' The main function that takes care of the rendering. ' #NEWLINE# if self . template_name : #NEWLINE# #INDENT# t = loader . get_template ( self . template_name ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# t_list = self . _get_template_list ( ) #NEWLINE# t = loader . select_template ( t_list ) #NEWLINE# #UNINDENT# context . update ( self . get_context ( ) ) #NEWLINE# resp = t . render ( context ) #NEWLINE# context . pop ( ) #NEWLINE# return t_list