I'm getting an import error on my server's log

raise ImportError, "Could not import settings '%s' (Is it on sys.path?
Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'myproject.settings' (Is it on
sys.path? Does it have syntax errors?): No module named
myproject.settings

but I appended it correctly in my django.wsgi script

import os
import sys

os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'

sys.path.append('F:/Apache Software Foundation/Apache2.2/sites/
myproject')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Can't figure out the reason...

Python 2.6
Apache 2.2
mod_wsgi 3.0

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to