Hi,
I am trying to serve an application but am getting the error ImportError: Could not import settings
I have included the error log below.
Any help would be greatly appreciated. And feel free to look at my code!
This is the result of echo $PATH
/home/compostcoffee/.virtualenvs/coffee-compost/bin:/home/compostcoffee/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
This is the error log output
2014-06-18 12:20:06,684 :ImportError: Could not import settings 'coffee_compost.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named coffee_compost.settings
This is my WSGI file
activate_this = '/home/compostcoffee/.virtualenvs/coffee-compost/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
import os
import sys
path = '/home/compostcoffee/coffeecompost/coffee_compost'
if path not in sys.path:
sys.path.append(path)
os.chdir(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'coffee_compost.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()