Re: Apache2/mod_python can't import project settings

2007-10-06 Thread ViX
Suppose ur project is project1, under /var/www/projects/, eg. /var/www/projects/project1 /var/www/projects/project1/settings.py The setting should be: PythonPath "['/var/www/projects'] + sys.path" So that the following works. import project1.settings Best, V On Oct 4, 12:34 pm, juampa

Re: Apache2/mod_python can't import project settings

2007-10-04 Thread Malcolm Tredinnick
On Thu, 2007-10-04 at 09:34 -0700, juampa wrote: > Hello all: > > I am deploying a Django project with Apache 2.0.55 and mod_python > 3.3.1 on Mac OS X Panther 10.3.9 server. > The problem is that when I try to load the page on my browser, I get a > mod_python debug error indicating that my proje

Apache2/mod_python can't import project settings

2007-10-04 Thread juampa
Hello all: I am deploying a Django project with Apache 2.0.55 and mod_python 3.3.1 on Mac OS X Panther 10.3.9 server. The problem is that when I try to load the page on my browser, I get a mod_python debug error indicating that my project's settings cannot be imported by django/conf/__init__.py (