From 98b9697366e7713bd8e06a7d336aa57f8dcb86fa Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Mon, 7 Oct 2019 10:45:23 +0100 Subject: [PATCH] Temporary fix to cable_form tag. No cable functionality has actually been added, that can be done once the frontend is in place to handle it. --- assets/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/views.py b/assets/views.py index 9c6a8e52..efbffa5f 100644 --- a/assets/views.py +++ b/assets/views.py @@ -16,7 +16,7 @@ from assets import models, forms class CableFormMixin: def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) - context["cable_form"] = forms.CableForm(**self.get_form_kwargs()) + context["cable_form"] = forms.CableForm() return context class AssetList(LoginRequiredMixin, generic.ListView):