Re: django setting problem on windows

2009-05-08 Thread online
Thanks all! Finally, i got django working with apache 2.2 mod_python3.1 settings: SetHandler python-program PythonHandler django.core.handlers.modpython PythonOption django.root /web SetEnv DJANGO_SETTINGS_MODULE web.settings PythonPath "['C:/depot/projects'] + sys.path"

Re: django setting problem on windows

2009-05-07 Thread Phil Mocek
On Thu, May 07, 2009 at 10:16:44PM -0700, online wrote: > Thanks, i tried changing > > > to > or Your third attempt is not even valid syntax. Doesn't it seem a little strange that in the other cases you had quotes enclosing a string but then in the third, you did not? Your problem is compl

Re: django setting problem on windows

2009-05-07 Thread zayatzz
If you look at the example i pointed at on django page, then then you notice that it says path/to/project in pythonpath. your pythonpath is : PythonPath "['C:/depot/projects/web/'] + sys.path" Which seems to me is like path/with/project and should be /depot/ projects as far as i can tell. I

Re: django setting problem on windows

2009-05-07 Thread online
Thanks, i tried changing to or still no luck On May 4, 7:49 am, zayatzz wrote: > Posting because i just set up httpd.conf on linux computer few days > ago and it took me a while to get it working as i wanted to. > > If i just compare the way how i set it up and how you did it Then the >

Re: django setting problem on windows

2009-05-04 Thread zayatzz
Posting because i just set up httpd.conf on linux computer few days ago and it took me a while to get it working as i wanted to. If i just compare the way how i set it up and how you did it Then the difference is that you have no pythonpath like Malcolm said and location should be either "/web/"

Re: django setting problem on windows

2009-05-03 Thread Croydon
I just installed Djang/XAMPP on windows using this guide http://jyotirmaya.blogspot.com/2008/11/xampp-python-django.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: django setting problem on windows

2009-05-02 Thread Malcolm Tredinnick
On Sat, 2009-05-02 at 22:24 -0700, online wrote: > I have mod_python set working fine with apache. > > I have django setting as following at apache > > > ServerAdmin webmas...@dummy-host2.li > Do