title: Django sys.path.append for project *and* app needed under WSGI
body: <p>Could somebody give me a pointer on why I need to add my project root path to the python path as well as the application itself in my WSGI file?</p>
  
  <p>Project base is called 'djapp', the application is called 'myapp'.</p>
  
  <pre><code>sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
  sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../djapp')
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'djapp.settings'
  </code></pre>
  
  <p>If I omit the line with "/../djapp/" the log tells my that 'myapp' can not be imported, even though 'djapp.settings' is. (validating 'djapp' was imported)</p>
  
  <p>It al runs properly with the ./manage.py command. there's a <code>__init__</code> in the project folder. </p>
  
  <p>For testings sake, I see the same issue using <code>addsitedir</code>:</p>
  
  <pre><code>site.addsitedir('/home/user/web/project/')
  site.addsitedir('/home/user/web/project/djapp')
  </code></pre>