From 9ace36c4596f44cbcf6ecd0594990e8ecd6ef24f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 27 Mar 2019 20:10:09 -0500 Subject: [PATCH] Remove duplicate code not sure how that got in there, oh well --- tailbone/views/master.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 1987da55..f7e2203f 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -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)