mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Fix typo in view edit_switch
This commit is contained in:
parent
b5000ad367
commit
804d5a711b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue