diff --git a/mistraldashboard/exceptions.py b/mistraldashboard/exceptions.py index e69a365..0b5d457 100644 --- a/mistraldashboard/exceptions.py +++ b/mistraldashboard/exceptions.py @@ -12,9 +12,9 @@ # License for the specific language governing permissions and limitations # under the License. -from mistralclient.api.base import APIException +from mistralclient.api import base from openstack_dashboard import exceptions NOT_FOUND = exceptions.NOT_FOUND -RECOVERABLE = exceptions.RECOVERABLE + (APIException,) +RECOVERABLE = exceptions.RECOVERABLE + (base.APIException,) UNAUTHORIZED = exceptions.UNAUTHORIZED diff --git a/mistraldashboard/workflows/views.py b/mistraldashboard/workflows/views.py index 5c72333..ea9b0c1 100644 --- a/mistraldashboard/workflows/views.py +++ b/mistraldashboard/workflows/views.py @@ -25,11 +25,11 @@ from horizon import tables from mistraldashboard import api from mistraldashboard.workflows import forms as mistral_forms -from mistraldashboard.workflows.tables import WorkflowsTable +from mistraldashboard.workflows import tables as workflows_tables class IndexView(tables.DataTableView): - table_class = WorkflowsTable + table_class = workflows_tables.WorkflowsTable template_name = 'mistral/workflows/index.html' def get_data(self):