Hi,
Brandon Taylor wrote:
> <Location "/testproject">
> SetHandler python-program
> PythonPath "['C:/django_projects/testproject'] + sys.path"
> [...]
Try :
PythonPath "['C:/django_projects/'] + sys.path"
instead, since "testproject" is the subdirectory where you project lives in.
Maybe changing the DJANGO_SETTINGS_MODULE environment variable to "settings"
would have done the
same, but I think it's less clear that way.
> When I use the command line and start the built-in server for the
> project, it will run and I get the Django welcome page. I added an
> environment variable called PYTHONPATH and pointed it to C:
> \django_projects, but I still get the error.
It should have fixed the problem, but I don't know how Apache takes environment
variables into account.
Hope it helps,
- Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---