From bbe849ca534d2573f9815e8c44c890f1834adf4f Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Sat, 20 Jun 2015 17:04:38 +0530 Subject: correct url --- website/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'website') diff --git a/website/views.py b/website/views.py index e6b0b1a..0fda4f7 100644 --- a/website/views.py +++ b/website/views.py @@ -32,6 +32,6 @@ def contact(request): subject = "Query from - "+sender_name message = request.POST['message'] send_mail(subject, message, sender_email, to, fail_silently=True) - return HttpResponseRedirect('/?query=sent') + return HttpResponseRedirect('/2015/?query=sent') else: - return HttpResponseRedirect('/') + return HttpResponseRedirect('/2015') -- cgit