From eaf8bdef65e2ec26cece9e6cc809e15ff9b97404 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 3 May 2022 17:00:02 +0200 Subject: [PATCH] fix bug --- ereuse_devicehub/inventory/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/inventory/views.py b/ereuse_devicehub/inventory/views.py index 8cb44b8a..503632e6 100644 --- a/ereuse_devicehub/inventory/views.py +++ b/ereuse_devicehub/inventory/views.py @@ -159,7 +159,7 @@ class LotCreateView(GenericMixView): return flask.render_template(self.template_name, **self.context) -class LotUpdateView(View): +class LotUpdateView(GenericMixView): methods = ['GET', 'POST'] decorators = [login_required] template_name = 'inventory/lot.html'