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

Fix edition of SRV records

This commit is contained in:
Bombar Maxime 2020-04-27 01:38:29 +02:00 committed by Gabriel Detraz
parent 8fe8510b97
commit d4df4b242f

View file

@ -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
)