Re: mod_python and import path

2009-02-08 Thread Bradley Wright
On Feb 8, 4:25 pm, Jeff wrote: > I actually got it to work by changing the PYTHONPATH from '/var/www/ > django/legend' to just '/var/www/django'.  Not sure if this is only > due to my version of python or what.  But thank you for the help. It's because Python tries to look inside the directories

Re: mod_python and import path

2009-02-08 Thread Jeff
On Feb 8, 9:52 am, Karen Tracey wrote: > On Sun, Feb 8, 2009 at 9:44 AM, Jeff wrote: > > On Feb 8, 4:29 am, Bradley Wright wrote:> > > > And if you're really using mod_python already with Apache, also post > > > your vhost file. > > vhost file: > > #Block conf > > files#

Re: mod_python and import path

2009-02-08 Thread Karen Tracey
On Sun, Feb 8, 2009 at 9:44 AM, Jeff wrote: > On Feb 8, 4:29 am, Bradley Wright wrote:> > > And if you're really using mod_python already with Apache, also post > > your vhost file. > vhost file: > #Block conf > files### > >Order a

Re: mod_python and import path

2009-02-08 Thread Jeff
On Feb 8, 4:29 am, Bradley Wright wrote: > On Feb 8, 4:39 am, Jeff wrote: > > > I installed django today and have not been able to get it to work with > > apache, or itself really.  I have the path in the sys.path and have > > set the settings module to point to it, but it cannot find it.  It >

Re: mod_python and import path

2009-02-08 Thread Bradley Wright
On Feb 8, 4:39 am, Jeff wrote: > I installed django today and have not been able to get it to work with > apache, or itself really.  I have the path in the sys.path and have > set the settings module to point to it, but it cannot find it.  It > works fine when I use 'python manage.py shell' or 'p