Example #1
0
 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)
Example #2
0
 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)