#NEWLINE# def get_template_names( self ) : #NEWLINE# #INDENT# if self . request . is_ajax ( ) : #NEWLINE# #INDENT# if ( not hasattr ( self , 'ajax_template_name' ) ) : #NEWLINE# #INDENT# bits = list ( os . path . split ( self . template_name ) ) #NEWLINE# bits [ 1 ] = '' . join ( ( '_' , bits [ 1 ] ) ) #NEWLINE# self . ajax_template_name = os . path . join ( * bits ) #NEWLINE# #UNINDENT# template = self . ajax_template_name #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# template = self . template_name #NEWLINE# #UNINDENT# return template