#NEWLINE# def gen_filename( self , format ) : #NEWLINE# #INDENT# app_label = self . model . _meta . app_label #NEWLINE# object_name = self . model . _meta . object_name . lower ( ) #NEWLINE# if ( format == 'python' ) : #NEWLINE# #INDENT# format = 'py' #NEWLINE# #UNINDENT# return ( '%s-%s-%s.%s' % ( self . name , app_label , app_label , format ) )