title: No module named foo.settings Django Import Error
body: <p>I'm gettings a Django import error after just cloning a repo for the first time, and I've looked at all previous questions and can't figure out what my problem is... </p>
  
  <pre><code>Traceback (most recent call last):
    File "manage.py", line 12, in &lt;module&gt;
      execute_from_command_line(sys.argv)
    File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
      utility.execute()
    File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 302, in execute
      settings.INSTALLED_APPS
    File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
      self._setup(name)
    File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 43, in _setup
      self._wrapped = Settings(settings_module)
    File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 99, in __init__
      mod = importlib.import_module(self.SETTINGS_MODULE)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
  ImportError: No module named foo.settings
  </code></pre>
  
  <p>But I have my settings.py file in the foo directory?</p>
  
  <blockquote>
    <blockquote>
      <p>Project</p>
      
      <blockquote>
        <p>app1</p>
        
        <p>app2</p>
        
        <p>foo</p>
        
        <blockquote>
          <p>settings.py</p>
          
          <p>wsgi.py</p>
          
          <p>urls.py</p>
        </blockquote>
        
        <p>app3</p>
        
        <p>manage.py</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>I am really confused. Here is my manage.py</p>
  
  <pre><code># !/usr/bin/env python
  import os
  import sys
  
  
  if __name__ == "__main__":
      os.environ.setdefault("DJANGO_SETTINGS_MODULE", "foo.settings")
  
      from django.core.management import execute_from_command_line
  
      execute_from_command_line(sys.argv)
  </code></pre>