Hi,

I am trying to install django application on CentOS 5 and I'm getting
this error, when I go to the admin page:

ImportError: Could not import settings 'mx30.settings' (Is it on
sys.path? Does it have syntax errors?): No module named mx30.settings

my httpd.conf looks like this:

LoadModule python_module modules/mod_python.so
<Location "/peergw">
SetHandler python-program
PythonPath "['/home/reeptv1'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mx30.settings
PythonOption django.root /peergw
PythonDebug On
</Location>

I can import settings.py and django from python shell,
I can run the server with django-admin.py, after setting
DJANGO_SETTINGS_MODULE and PYTHONPATH.

Does anybody have an idea what I can do?
Thanks, Arshavski Alexander.
--~--~---------~--~----~------------~-------~--~----~
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