#NEWLINE# def contribute_to_class( self , cls , name ) : #NEWLINE# #INDENT# setattr ( cls , self , self ) #NEWLINE# self . model = cls #NEWLINE# self . storage_name = ( cls . __name__ . lower ( ) + 's' ) #NEWLINE# if self . meta : #NEWLINE# #INDENT# if hasattr ( self . meta , 'storage_name' ) : #NEWLINE# #INDENT# self . storage_name = self . meta . storage_name