How we can return extra parameter with the 'HTTP_REFERER' URL in Django views?

Viewed 119
url = request.META.get('HTTP_REFERER') 

return HttpResponseRedirect(url) 

This URL is used to redirect to the current page and I want to send a parameter with it. How I can do that?

0 Answers
Related