From d4df4b242fa773815c2be0a6d5e05d314c711ac2 Mon Sep 17 00:00:00 2001 From: Bombar Maxime Date: Mon, 27 Apr 2020 01:38:29 +0200 Subject: [PATCH] Fix edition of SRV records --- machines/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/views.py b/machines/views.py index 3291adb3..cc82913b 100644 --- a/machines/views.py +++ b/machines/views.py @@ -955,7 +955,7 @@ def edit_srv(request, srv_instance, **_kwargs): if srv.changed_data: srv.save() messages.success(request, _("The SRV record was edited.")) - return redirect(reverse("machines:1index-extension")) + return redirect(reverse("machines:index-extension")) return form( {"srvform": srv, "action_name": _("Edit")}, "machines/machine.html", request )