I am having a disastrous time trying to set up a new django site on my
server. Every time I restart my server with it enabled I get
something along the lines of
" File "/usr/local/lib/python2.4/site-packages/django/core/handlers/
base.py", line 27, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:
File "/usr/local/lib/python2.4/site-packages/django/conf/
__init__.py", line 28, in __getattr__
self._import_settings()
File "/usr/local/lib/python2.4/site-packages/django/conf/
__init__.py", line 59, in _import_settings
self._target = Settings(settings_module)
File "/usr/local/lib/python2.4/site-packages/django/conf/
__init__.py", line 87, 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"
I'm sure this problem has to do with me using default settings still,
but I don't know what to change them to. Any advice would be much
appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---