diff --git a/shimatta_kenkyusho/parts/views.py b/shimatta_kenkyusho/parts/views.py index c0b14ed..0db0612 100644 --- a/shimatta_kenkyusho/parts/views.py +++ b/shimatta_kenkyusho/parts/views.py @@ -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'