mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
[machines/views] Domain MUST be saved to get the right extension
This commit is contained in:
parent
e7db840dd5
commit
b648078b4e
1 changed files with 1 additions and 2 deletions
|
@ -304,8 +304,7 @@ def edit_interface(request, interface_instance, **_kwargs):
|
|||
new_machine_obj.save()
|
||||
if interface_form.changed_data:
|
||||
new_interface_obj.save()
|
||||
if domain_form.changed_data:
|
||||
new_domain_obj.save()
|
||||
new_domain_obj.save()
|
||||
messages.success(request, _("The machine was edited."))
|
||||
return redirect(reverse(
|
||||
'users:profil',
|
||||
|
|
Loading…
Reference in a new issue