Skip to content

Commit

Permalink
Make Table Columns & Metrics Bulk-deletable (apache#3929)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcruickshank authored and michellethomas committed May 23, 2018
1 parent 7f240a1 commit c5dfe10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/sqla/views.py
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 c5dfe10

Please sign in to comment.