title: Django webfaction deployment: How to change the default directory of your project
body: <p>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:</p>
  
  <pre><code>ImportError: Could not import settings 'myproject.settings' (Is it on sys.path?): No module named myproject.settings
  </code></pre>
  
  <p><strong>The question is:</strong> How can i do to import the settings from Hesperides.settings instead from myproject.settings? Thanks for your time.</p>
  
  <p><strong>My httpd.conf:</strong></p>
  
  <pre><code>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
  </code></pre>
  
  <p><strong>My wsgi.py</strong></p>
  
  <pre><code>import os
  import sys
  
  from django.core.handlers.wsgi import WSGIHandler
  os.environ['DJANGO_SETTINGS_MODULE'] = 'Hesperides.settings'
  application = WSGIHandler()
  </code></pre>
  
  <p><strong>My folder tree:</strong></p>
  
  <pre><code>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
  </code></pre>