#NEWLINE# def post_save( self , instance , created , **kwargs ) : #NEWLINE# #INDENT# if ( ( not created ) and hasattr ( instance , 'skip_history_when_saving' ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not kwargs . get ( 'raw' , False ) ) : #NEWLINE# #INDENT# self . create_historical_record ( instance , ( ( created and '+' ) or '~' ) )