<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE caliber.settings
PythonDebug On
PythonPath "sys.path + ['C:/projects/']"
</Location>
2009-01-15
孙科
发件人: Malcolm Tredinnick
发送时间: 2009-01-15 14:24:47
收件人: django-users
抄送:
主题: Re: Mod-Python = Headaches (cannot find my settings file)
On Wed, 2009-01-14 at 20:44 -0800, mclovin wrote:
> Here is my new revised:
> <Location "/">
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE caliber.settings
> PythonDebug On
> PythonPath "['C:/projects/'] + sys.path"
> </Location>
>
> still does not work. gives the same error
When you test importing caliber.settings at the command line, with your
Python path set to exactly the above, what happened?
Malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---