title: Where does django dev server (manage.py runserver) get its path from?
body: <p>I recently moved a django app from <code>c:\Users\user\django-projects\foo\foobar</code> to <code>c:\Python25\Lib\site-packages\foo\foobar</code> (which is on the python path). I started a new app in the <code>django-projects</code> directory, and added <code>foo.foobar</code> to the <code>INSTALLED_APPS</code> setting. When I try to run the dev server (<code>manage.py runserver</code>) for my new app, I get the error <code>ImportError: No module named foobar</code>.</p>
  
  <p>Looking through the traceback, it's looking in the <code>c:\Users\user\django-projects\foo\..\foo\foobar</code> for the <code>foobar</code> app. I checked my <code>PATH</code> and <code>PYTHONPATH</code> environment variables, and neither point to <code>c:\Users\user\django-projects\foo</code> and It doesn't show up in <code>sys.path</code> when I run the python interpreter.</p>
  
  <p>I'm guessing I somehow added <code>c:\Users\user\django-projects\foo</code> to django's path sometime along the development of <code>foo</code> but I don't remember how I did it.</p>
  
  <p>So, with all that lead up, my question is "how do I make manage.py look in <code>c:\Python25\Lib\site-packages</code> instead of <code>c:\Users\user\django-projects\foo</code>?"</p>
  
  <p>Thanks,</p>
  
  <ul>
  <li>Lexo</li>
  </ul>