<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def edit(self, pk):
 """Simple hack to redirect to explore view after saving"""

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