mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 16:03:47 +00:00
Merge branch '224-Fix-Changing-Domain' into 'dev'
[machines/views] Domain MUST be saved to get the right extension See merge request federez/re2o!443
This commit is contained in:
commit
b3f08673d6
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