im deploying my django project, named "Hesperides" under a webfaction server. The default project's folder in webfaction it's "myproject" so Im having this error:
ImportError: Could not import settings 'myproject.settings' (Is it on sys.path?): No module named myproject.settings
The question is: How can i do to import the settings from Hesperides.settings instead from myproject.settings? Thanks for your time.
My httpd.conf:
WSGIDaemonProcess jinn processes=2 threads=12 python-path=/home/zeioth/webapps/jinn:/home/zeioth/webapps/jinn/myproject:/home/zeioth/webapps/jinn/lib/python2.7:
WSGIScriptAlias / /home/zeioth/webapps/jinn/myproject/Hesperides/wsgi.py
My wsgi.py
import os
import sys
from django.core.handlers.wsgi import WSGIHandler
os.environ['DJANGO_SETTINGS_MODULE'] = 'Hesperides.settings'
application = WSGIHandler()
My folder tree:
jinn
--apache2
-bin
--conf
-httpd.conf
-mime.types
-lib
-logs
-modules
-bin
-lib
--myproject
-manage.py
--Hesperides
-wsgi.py
-urls.py
-__init__.py
-settings.py
-apps