Is possible to add GET variables in a redirect ? (Without having to modifiy my urls.py)
If I do redirect(\'url-name\', x)
redirect(\'url-name\', x)
I get HttpRespo
HttpRespo
Since redirect just returns an HttpResponseRedirect object, you could just alter that:
HttpResponseRedirect
response = redirect('url-name', x) response['Location'] += '?your=querystring' return response