This commit is contained in:
Cayo Puigdefabregas 2022-05-03 17:00:02 +02:00
parent 60a11794ae
commit eaf8bdef65
1 changed files with 1 additions and 1 deletions

View File

@ -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'