I am new to django and I am running it on a Windows server. I installed mod_wsgi with Apache and go it to work, but now when I run python manage.py runserver. I get the error
Error: Could not import settings 'spot.settings' (Is it on sys.path? Does it have syntax errors?): No module named settings Exit code: 1 mysite is call spot. Can anyone tell me why running the django server no longer works. I am going nuts trying to figure this out, and before I rip out everything and start over can some please give me some advise what to look for and what I might have gone wrong. I can only assume it has something to do with what I did in my spot.wsgi file import os import sys sys.stdout = sys.stderr from os.path import abspath, dirname, join from site import addsitedir PROJECT_ROOT = abspath(join(dirname(__file__), "../")) sys.path.insert(0, join(PROJECT_ROOT, "apps")) sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) from django.core.handlers.wsgi import WSGIHandler os.environ["DJANGO_SETTINGS_MODULE"] = "spot.settings" application = WSGIHandler() Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---