From 98caddf65215f8b59a8b303e3fd2d45be9425aaf 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 )