Remove duplicate code

not sure how that got in there, oh well
This commit is contained in:
Lance Edgar 2019-03-27 20:10:09 -05:00
parent e9c9772c58
commit 9ace36c459

View file

@ -1449,14 +1449,6 @@ class MasterView(View):
if self.row_editable(row):
return self.get_row_action_url('edit', row)
def row_deletable(self, row):
"""
Returns boolean indicating whether or not the given row can be
considered "deletable". Returns ``True`` by default; override as
necessary.
"""
return True
def row_delete_action_url(self, row, i):
if self.row_deletable(row):
return self.get_row_action_url('delete', row)