8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 01:13:46 +00:00

[machines/views] Domain MUST be saved to get the right extension

This commit is contained in:
Maxime Bombar 2019-09-22 00:34:10 +02:00
parent e7db840dd5
commit b648078b4e

View file

@ -304,7 +304,6 @@ 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()
messages.success(request, _("The machine was edited."))
return redirect(reverse(