superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Make Table Columns & Metrics Bulk-deletable (#3929)
Date Sun, 26 Nov 2017 07:05:53 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 17635e1  Make Table Columns & Metrics Bulk-deletable (#3929)
17635e1 is described below

commit 17635e1a2bd953d51440270a5b3ebcf0bd014028
Author: Alan Cruickshank <alanmcruickshank@gmail.com>
AuthorDate: Sun Nov 26 07:05:51 2017 +0000

    Make Table Columns & Metrics Bulk-deletable (#3929)
---
 superset/connectors/sqla/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py
index 47358fa..57b2714 100644
--- a/superset/connectors/sqla/views.py
+++ b/superset/connectors/sqla/views.py
@@ -17,7 +17,7 @@ from superset.views.base import (
 from . import models
 
 
-class TableColumnInlineView(CompactCRUDMixin, SupersetModelView):  # noqa
+class TableColumnInlineView(CompactCRUDMixin, SupersetModelView, DeleteMixin):  # noqa
     datamodel = SQLAInterface(models.TableColumn)
 
     list_title = _('List Columns')
@@ -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')

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message