mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-27 17:33:45 +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()
|
new_machine_obj.save()
|
||||||
if interface_form.changed_data:
|
if interface_form.changed_data:
|
||||||
new_interface_obj.save()
|
new_interface_obj.save()
|
||||||
if domain_form.changed_data:
|
new_domain_obj.save()
|
||||||
new_domain_obj.save()
|
|
||||||
messages.success(request, _("The machine was edited."))
|
messages.success(request, _("The machine was edited."))
|
||||||
return redirect(reverse(
|
return redirect(reverse(
|
||||||
'users:profil',
|
'users:profil',
|
||||||
|
|
Loading…
Reference in a new issue