Switch from HttpResponseRedirect to redirect.
Add new Setting for url prefix, and allow urls.py to handle it.