Fix bug in QR search on component pages
This commit is contained in:
parent
69ed1092e0
commit
c08a442ce5
@ -425,7 +425,7 @@ class ComponentDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView):
|
|||||||
if 'submit-edit-comp' in request.POST:
|
if 'submit-edit-comp' in request.POST:
|
||||||
return self.handle_submit_edit_post(request, **kwargs)
|
return self.handle_submit_edit_post(request, **kwargs)
|
||||||
|
|
||||||
super().post(request, *args, **kwargs)
|
return super().post(request, *args, **kwargs)
|
||||||
|
|
||||||
class PackageDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView):
|
class PackageDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView):
|
||||||
template_name = 'parts/packages-detail.html'
|
template_name = 'parts/packages-detail.html'
|
||||||
|
Loading…
Reference in New Issue
Block a user