From 804d5a711bffce9b08ccbf4036ac8f157c07f7c9 Mon Sep 17 00:00:00 2001 From: Hugo Levy-Falk Date: Thu, 31 Oct 2019 21:54:25 +0100 Subject: [PATCH] Fix typo in view edit_switch --- topologie/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topologie/views.py b/topologie/views.py index e900387f..60ebc272 100644 --- a/topologie/views.py +++ b/topologie/views.py @@ -616,7 +616,7 @@ def edit_switch(request, switch, switchid): domain_form = DomainForm( request.POST or None, instance=switch.interface_set.first().domain, - domain=request.user + user=request.user ) if switch_form.is_valid() and interface_form.is_valid(): new_switch_obj = switch_form.save(commit=False)