Fix bug in QR search on component pages

This commit is contained in:
Mario Hüttel 2021-11-11 21:12:21 +01:00
parent 69ed1092e0
commit c08a442ce5

View File

@ -425,7 +425,7 @@ class ComponentDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView):
if 'submit-edit-comp' in request.POST:
return self.handle_submit_edit_post(request, **kwargs)
super().post(request, *args, **kwargs)
return super().post(request, *args, **kwargs)
class PackageDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView):
template_name = 'parts/packages-detail.html'