def delete(self, *args, **kwargs): # we can custom the delete # example: set the status to 0 instead of physical delete return Document.delete(self, *args, **kwargs)