Does django take SCRIPT_NAME into account when using the default LOGIN_URL
- by DanJ
Hi,
I'm using Django 1.0.2 and trying to figure out how to get the @login_required working correctly.
When I use the built-in server it redirects to the default login_url, or my LOGIN_URL as defined in settings.py as expected.
What is not clear to me is how to deploy to the server where my site is not at the root. In my templates I use the url…