Re: Set WOrking directory with mod_python

2006-03-31 Thread [EMAIL PROTECTED]
You're right, of course. I defined a setting in settings.py which I now use to put together an absolute path name. That way, I only need to change this one central place when redeploying to a different location (which was what I was thinking about when going for the relative filename stuff). Tha

Re: Set WOrking directory with mod_python

2006-03-30 Thread Jacob Kaplan-Moss
On Mar 30, 2006, at 3:45 PM, [EMAIL PROTECTED] wrote: > This is probably a really trivial question. > How do I set my Django app's current working directory when running > under mod_python? The "correct" answer is that you shouldn't be relying on the working directory in a web app; use absolute