Use handler do_delete()
method when deleting a batch
even though it seems we have 2 calls to `session.delete(batch)` now, but things are still working..fingers crossed
This commit is contained in:
parent
e0ce7e8505
commit
cf8072e402
|
@ -746,7 +746,7 @@ class BatchMasterView(MasterView):
|
||||||
"""
|
"""
|
||||||
Delete all data (files etc.) for the batch.
|
Delete all data (files etc.) for the batch.
|
||||||
"""
|
"""
|
||||||
self.handler.delete(batch)
|
self.handler.do_delete(batch)
|
||||||
super(BatchMasterView, self).delete_instance(batch)
|
super(BatchMasterView, self).delete_instance(batch)
|
||||||
|
|
||||||
def get_fallback_templates(self, template, mobile=False):
|
def get_fallback_templates(self, template, mobile=False):
|
||||||
|
|
Loading…
Reference in a new issue