#NEWLINE# def add_extra_methods( self , cls ) : #NEWLINE# #INDENT# def save_without_historical_record( self , * args , **kwargs ) : #NEWLINE# #INDENT# "\n            Save model without saving a historical record\n\n            Make sure you know what you're doing before you use this method.\n            " #NEWLINE# self . skip_history_when_saving = True #NEWLINE# try : #NEWLINE# #INDENT# ret = self . save ( * args , ** kwargs ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# del self . skip_history_when_saving #NEWLINE# #UNINDENT# return ret #NEWLINE# #UNINDENT# setattr ( cls , 'save_without_historical_record' , save_without_historical_record )