Re: Django and mod_python issues

2006-12-08 Thread Jeremy Dunck
On 12/8/06, brandon <[EMAIL PROTECTED]> wrote: > > Hi I'm using the same setup. However I'm pretty new to python and > django. Which django version/revision are you using? > I have C:\Program Files\xampp\htdocs as my default directory > > Where should I place django? Somewhere on the python pat

Re: Django and mod_python issues

2006-12-08 Thread brandon
Hi I'm using the same setup. However I'm pretty new to python and django. I have C:\Program Files\xampp\htdocs as my default directory Where should I place django? I placed it in C:\Program Files\xampp\htdocs\python\ but can't get the 'import django' working properly... sadly i have to use win

Re: Django and mod_python issues

2006-12-05 Thread Tipan
Thanks for the advice. Adding the line: PythonPath "['d:/program files/xampp/htdocs'] + sys.path" to my httpd.conf overcame the issue with loading myproject module. Simple when you know how. Thanks again, Tim --~--~-~--~~~---~--~~ You received this message

Re: Django and mod_python issues

2006-12-05 Thread Waylan Limberg
On 12/5/06, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > > Tipan a écrit : > > > PythonPath "['d:/program files/xampp/htdocs/myproject'] + sys.path" > > Try : PythonPath "['d:/program files/xampp/htdocs/'] + sys.path" Actually, you may want to include both lines. That way, `myproject.settin

Re: Django and mod_python issues

2006-12-05 Thread Nicolas Steinmetz
Tipan a écrit : > PythonPath "['d:/program files/xampp/htdocs/myproject'] + sys.path" Try : PythonPath "['d:/program files/xampp/htdocs/'] + sys.path" Nicolas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Django and mod_python issues

2006-12-05 Thread Jeremy Dunck
On 12/5/06, Tipan <[EMAIL PROTECTED]> wrote: ... > EnvironmentError: Could not import settings 'myproject.settings' (Is it > on sys.path? Does it have syntax errors?): No module named > myproject.settings ... > PythonPath "['d:/program files/xampp/htdocs/myproject'] + sys.path" > Can anyone g

Django and mod_python issues

2006-12-05 Thread Tipan
I've seen various posts with similar problems, but not managed to find consistent advice on trouble shooting this issue. I've got an installation of xampp Apache 2.2 and mod_python 3.2.10 and Python 2.5. Running on Windows 2003 server. I have mod_python working fine in apache - I can view the co