#NEWLINE# def enable( self ) : #NEWLINE# #INDENT# self . old_cache = constance_database . db_cache #NEWLINE# constance_database . db_cache = None #NEWLINE# self . old_settings = dict ( ( ( k , getattr ( constance . config , k ) ) for k in dir ( constance . config ) ) ) #NEWLINE# for ( k , v ) in self . options . items ( ) : #NEWLINE# #INDENT# constance . config . _backend . set ( k , v )