mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Merge branch 'fix-edit-switch' into 'dev'
Fix typo in view edit_switch See merge request federez/re2o!466
This commit is contained in:
commit
c260d3889e
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