Browse Source

oopsie

pull/7/head
Pēteris Caune 9 years ago
parent
commit
a15079a002
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hc/front/views.py

+ 2
- 2
hc/front/views.py View File

@ -86,7 +86,7 @@ def update_name(request, code):
check.name = request.POST["name"] check.name = request.POST["name"]
check.save() check.save()
return redirect("hc-checks")
return redirect("hc-index")
@login_required @login_required
@ -102,4 +102,4 @@ def update_timeout(request, code):
check.timeout = form.cleaned_data["timeout"] check.timeout = form.cleaned_data["timeout"]
check.save() check.save()
return redirect("hc-checks")
return redirect("hc-index")

Loading…
Cancel
Save