summaryrefslogtreecommitdiff
path: root/isotests/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-28 17:52:16 -0500
committerDan McGee <dan@archlinux.org>2011-04-28 17:53:23 -0500
commit11962fab9da3839564fb132109267b8cd6feb6ac (patch)
treea3ece00b56e812e4c9c033c5b00ddeae2eff9eeb /isotests/views.py
parent1ff9c0fc5db1aab393eed5751e94ed8ac127c0c2 (diff)
Remove more hardcoded isotests links
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'isotests/views.py')
-rw-r--r--isotests/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/isotests/views.py b/isotests/views.py
index 8e66d7b4..cfd6f408 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()