Initial work on cable template things

This commit is contained in:
2019-10-05 22:42:21 +01:00
parent 3d5272d722
commit a22956cc62
3 changed files with 169 additions and 103 deletions

View File

@@ -100,6 +100,7 @@ class AssetCreate(LoginRequiredMixin, CableFormMixin, generic.CreateView):
context = super(AssetCreate, self).get_context_data(**kwargs)
context["create"] = True
context["connectors"] = models.Connector.objects.all()
return context
def get_success_url(self):