#NEWLINE# def deactivate( self , user = None ) : #NEWLINE# #INDENT# 'Deactivate this object.' #NEWLINE# self . status = user . STATUS . disabled #NEWLINE# self . save ( force_update = True , user = user )