Remove redundant overrides of Model.delete

Both of these models have pre_delete handlers which do the same things,
so I think these are unnecessary.
This commit is contained in:
Will Thompson 2016-02-26 11:15:29 +00:00 committed by j
commit 2a07e2a1ab
2 changed files with 0 additions and 8 deletions

View file

@ -436,10 +436,6 @@ class Item(models.Model):
if os.path.exists(path):
shutil.rmtree(path)
def delete(self, *args, **kwargs):
self.delete_files()
super(Item, self).delete(*args, **kwargs)
def merge_with(self, other, save=True):
'''
move all related tables to other and delete self