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

Merge branch 'Bug_no_matching_reverse' into 'dev'

Bug no matching reverse

See merge request re2o/re2o!524
This commit is contained in:
chirac 2020-04-27 06:56:13 +02:00
commit c33781b7e0

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