From 0206f831b23a6a07a4393ab2316d626cae27ef98 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 16 May 2022 18:38:36 +0200 Subject: [PATCH] fix GenericMixin in woekbench view --- ereuse_devicehub/workbench/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/workbench/views.py b/ereuse_devicehub/workbench/views.py index 95b8c009..f70885ce 100644 --- a/ereuse_devicehub/workbench/views.py +++ b/ereuse_devicehub/workbench/views.py @@ -10,12 +10,12 @@ from ereuse_devicehub import auth from ereuse_devicehub.db import db from ereuse_devicehub.resources.enums import SessionType from ereuse_devicehub.resources.user.models import Session -from ereuse_devicehub.views import GenericMixView +from ereuse_devicehub.views import GenericMixin workbench = Blueprint('workbench', __name__, url_prefix='/workbench') -class SettingsView(GenericMixView): +class SettingsView(GenericMixin): decorators = [login_required] template_name = 'workbench/settings.html' page_title = "Workbench Settings"