I wrote a redirection script. The steps are:
- Setup some url handler.
- Setup a view for this handler.
- Setup a meta refresh html template.
Metarefresh template will blank the referrer before sending the end user to the target url.
If you want to get an idea, follow this question and the accepted answer: django get complete url in query string