I've gotten pretty much everything else done, but I can't figure out
how to tell mod_python where my django install directory is.
The current directory is /opt/perfmanager but I can't figure out what
to do past that. I've tried changing the path to contain those
directories but it's still not finding it.
I've put the line:
PythonPath "sys.path + ['/opt/', '/opt/perfmanager/']"
in the httpd.conf file as well. but I get this error:
---
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File
"/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/core/handlers/modpython.py",
line 163, in handler
return ModPythonHandler()(req)
File
"/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/core/handlers/modpython.py",
line 125, in __call__
if settings.ENABLE_PSYCO:
File
"/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__init__.py",
line 27, in __getattr__
self._import_settings()
File
"/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__init__.py",
line 54, in _import_settings
self._target = Settings(settings_module)
File
"/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__init__.py",
line 82, in __init__
raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE,
e)
EnvironmentError: Could not import settings 'perftest.settings' (Is it
on sys.path? Does it have syntax errors?): No module named settings
---
Help please? What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---