From 9475db034791c9f9231abe67940f3441d0c5aee3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 9 Oct 2011 11:43:05 +0200 Subject: [PATCH] dont send previous referer --- pandora/app/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandora/app/views.py b/pandora/app/views.py index 92bbca51d..13b2a2dd4 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -3,6 +3,7 @@ from django.shortcuts import render_to_response, redirect from django.template import RequestContext from django.conf import settings +from django.http import HttpResponse from ox.django.shortcuts import json_response, render_to_json_response from ox.django.decorators import login_required_json @@ -85,4 +86,6 @@ actions.register(editPage) def redirect_url(request, url): if request.META['QUERY_STRING']: url += "?" + request.META['QUERY_STRING'] - return redirect(url, permanent=True) + response = HttpResponse() + response.write(''%url) + return response