Commit c260d388 authored by chirac's avatar chirac

Merge branch 'fix-edit-switch' into 'dev'

Fix typo in view edit_switch

See merge request federez/re2o!466
parents b5000ad3 804d5a71
Pipeline #2293 passed with stage
in 3 minutes and 13 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment