sst/storage_templates #3
@ -598,7 +598,7 @@ class StockViewDetail(LoginRequiredMixin, BaseTemplateMixin, DetailView):
|
|||||||
|
|
||||||
if 'submit-add-storage' in request.POST:
|
if 'submit-add-storage' in request.POST:
|
||||||
return self.handle_add_storage_post(request, **kwargs)
|
return self.handle_add_storage_post(request, **kwargs)
|
||||||
if 'submit-change-storage' in request.POST:
|
elif 'submit-change-storage' in request.POST:
|
||||||
sst marked this conversation as resolved
Outdated
|
|||||||
return self.handle_change_storage_post(request, **kwargs)
|
return self.handle_change_storage_post(request, **kwargs)
|
||||||
elif 'submit-delete-storage' in request.POST:
|
elif 'submit-delete-storage' in request.POST:
|
||||||
return self.handle_del_storage_post(request, **kwargs)
|
return self.handle_del_storage_post(request, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user
Any reason, that is not an elif? @sst