On Saturday 13 June 2009 05:37:56 Kenneth Gonsalves wrote:
> > Commenting out that line solved the problem. We're using
> > a VirtualHost definition, so it seems django.root should
> > not be set for a VirtualHost.
>
> I always set it for VirtualHost - AFAIK the docs say to do so.

to clarify, I have a project called 'conference' at /home/lawgon/conference, 
and an application called 'web' under it. Here is an excerpt from my 
VirtualHost config:

<Location "/">
      SetHandler python-program
      PythonPath "['/home/lawgon/'] + 
['/home/lawgon/projects/quadmulc/env/lib/python2.5/site-packages/'] + 
sys.path"
      PythonHandler django.core.handlers.modpython
      SetEnv DJANGO_SETTINGS_MODULE conference.settings
      PythonOption django.root /web
      PythonInterpreter conference_main
      PythonDebug On
    </Location>
-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to