summaryrefslogtreecommitdiffstats
path: root/isotests
diff options
context:
space:
mode:
Diffstat (limited to 'isotests')
-rw-r--r--isotests/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/isotests/views.py b/isotests/views.py
index 8e66d7b..cfd6f40 100644
--- a/isotests/views.py
+++ b/isotests/views.py
@@ -1,7 +1,7 @@
from django import forms
from django.conf import settings
-from django.http import HttpResponseRedirect, Http404
-from django.shortcuts import get_object_or_404
+from django.http import Http404
+from django.shortcuts import get_object_or_404, redirect
from django.views.generic.simple import direct_to_template
from .models import (Architecture, BootType, Bootloader, ClockChoice,
@@ -58,7 +58,7 @@ def submit_test_result(request):
test = form.save(commit=False)
test.ip_address = request.META.get("REMOTE_ADDR", None)
test.save()
- return HttpResponseRedirect('/isotests/thanks/')
+ return redirect('releng-test-thanks')
else:
form = TestForm()