Morning
I'm novice in django and i want to install my apllication on my server
production whos on ubuntu i mean install my aplli on apache and i have this
error:
MOD_PYTHON ERROR
ProcessId: 3230
Interpreter: '127.0.1.1'
ServerName: '127.0.1.1'
DocumentRoot: '/var/www'
URI: '/mysite'
Location: '/mysite'
Directory: None
Filename: '/var/www/mysite'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in
HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in
_process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in
_execute_target
result = object(arg)
File "/var/lib/python-support/python2.6/django/core/handlers/modpython.py",
line 228, in handler
return ModPythonHandler()(req)
File "/var/lib/python-support/python2.6/django/core/handlers/modpython.py",
line 191, in __call__
self.load_middleware()
File "/var/lib/python-support/python2.6/django/core/handlers/base.py", line
31, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:
File "/var/lib/python-support/python2.6/django/conf/__init__.py", line 28, in
__getattr__
self._import_settings()
File "/var/lib/python-support/python2.6/django/conf/__init__.py", line 59, in
_import_settings
self._target = Settings(settings_module)
File "/var/lib/python-support/python2.6/django/conf/__init__.py", line 94, in
__init__
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 'mysite.settings' (Is it on sys.path?
Does it have syntax errors?): No module named mysite.settings
--
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.