#NEWLINE# def save( self , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        Saves model and set initial state.\n        ' #NEWLINE# if ( kwargs . _state . adding or self . has_changed ) : #NEWLINE# #INDENT# self . updated = True #NEWLINE# #UNINDENT# super ( TrackedModelMixin , self ) . save ( * args , ** kwargs ) #NEWLINE# self . __initial = self . _dict