Re: def clean_file works with django server but not with apache

2009-01-11 Thread Alan
Thanks a lot dear Graham. Alan On Sun, Jan 11, 2009 at 20:56, Graham Dumpleton wrote: > > Answered at: > > http://groups.google.com/group/modwsgi/browse_frm/thread/6af0cf98b726e5fe > > Graham > > On Jan 11, 11:59 pm, Alan wrote: > > Oops, I

Re: def clean_file works with django server but not with apache

2009-01-11 Thread Graham Dumpleton
Answered at: http://groups.google.com/group/modwsgi/browse_frm/thread/6af0cf98b726e5fe Graham On Jan 11, 11:59 pm, Alan wrote: > Oops, I found something. I am using apache2 + mod_wsgi and I notice that > instead of using my Fink python ('/sw/bin/python') it's using my

Re: def clean_file works with django server but not with apache

2009-01-11 Thread Alan
Oops, I found something. I am using apache2 + mod_wsgi and I notice that instead of using my Fink python ('/sw/bin/python') it's using my mac python ('/usr/bin/python'). I compiled mod_wsgi with fink python, even though I had to put something like: WSGIDaemonProcess webapps user=alan group=staff

def clean_file works with django server but not with apache

2009-01-11 Thread Alan
Hi List, I have this problem now. It's about a form in my models.py that works as expected when testing with django server but when testing with apache sever (all in the same machine, mac osx leopard) it does not work as desired. class GridJobForm(forms.Form): file =