'Simple hack to redirect to explore view after saving'

@expose('/edit/<pk>', methods=['GET', 'POST'])
@has_access
def edit(self, pk):

    resp = super(TableModelView, self).edit(pk)
    if isinstance(resp, basestring):
        return resp
    return redirect('/superset/explore/table/{}/'.format(pk))
