Merge pull request #246 from eReuse/bugfix/change-lot-name

fix bug
This commit is contained in:
cayop 2022-05-03 17:22:59 +02:00 committed by GitHub
commit 8591f061a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'