8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Fix edition of SRV records

This commit is contained in:
Bombar Maxime 2020-04-27 01:38:29 +02:00
parent 459ac3d587
commit 98caddf652

View file

@ -955,7 +955,7 @@ def edit_srv(request, srv_instance, **_kwargs):
if srv.changed_data: if srv.changed_data:
srv.save() srv.save()
messages.success(request, _("The SRV record was edited.")) messages.success(request, _("The SRV record was edited."))
return redirect(reverse("machines:1index-extension")) return redirect(reverse("machines:index-extension"))
return form( return form(
{"srvform": srv, "action_name": _("Edit")}, "machines/machine.html", request {"srvform": srv, "action_name": _("Edit")}, "machines/machine.html", request
) )