Skip to content

Commit

Permalink
Make Table Columns & Metrics Bulk-deletable (#3929)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcruickshank authored and mistercrunch committed Nov 26, 2017
1 parent 2851979 commit 17635e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from . import models


class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
class TableColumnInlineView(CompactCRUDMixin, SupersetModelView, DeleteMixin): # noqa
datamodel = SQLAInterface(models.TableColumn)

list_title = _('List Columns')
Expand Down Expand Up @@ -94,7 +94,7 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
appbuilder.add_view_no_menu(TableColumnInlineView)


class SqlMetricInlineView(CompactCRUDMixin, SupersetModelView): # noqa
class SqlMetricInlineView(CompactCRUDMixin, SupersetModelView, DeleteMixin): # noqa
datamodel = SQLAInterface(models.SqlMetric)

list_title = _('List Metrics')
Expand Down

0 comments on commit 17635e1

Please sign in to comment.