Re: How to configure LOGIN_URL

2009-07-09 Thread Manoj Govindan
You will need to adjust the LOGIN_URL (and possibly LOGIN_REDIRECT_URL) setting in your settings file. One way to do this would be to add a separate settings file for production if you don't already have one. The production settings file can then have the appropriate value for LOGIN_URL, say somet

Re: How to configure LOGIN_URL

2009-07-09 Thread maplye
settings.py LOGOUT_URL="" 2009/7/9 Mr. T : > > In the tutorial it is simply '/accounts/login' > > This worked fine until I switched to a production apache server. My > login_required decorators were broken because the path is absolute, > login_required doesn't use the apache prefix. > > What to

How to configure LOGIN_URL

2009-07-08 Thread Mr. T
In the tutorial it is simply '/accounts/login' This worked fine until I switched to a production apache server. My login_required decorators were broken because the path is absolute, login_required doesn't use the apache prefix. What to do? --~--~-~--~~~---~--~~ Y