title: ImportError: Could not import settings. Is it in path?
body: <p>I'm getting an import error while I try to run a script in my Django app.</p>
  
  <p>It is related to the settings file. </p>
  
  <p>Error:</p>
  
  <pre><code>  File "bookd/get_data.py", line 10, in &lt;module&gt;
      from models import UserProfile
    File "/home/hiccup/DataProjects/goodread/bookda/bookd/models.py", line 3, in &lt;module&gt;
      from django.db import models
    File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line 14, in &lt;module&gt;
      if not settings.DATABASES:
    File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 276, in __getattr__
      self._setup()
    File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup
      self._wrapped = Settings(settings_module)
    File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 89, in __init__
      raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
  ImportError: Could not import settings 'bookda.settings' (Is it on sys.path?): No module named bookda.settings
  </code></pre>
  
  <p>I know its a very basic error and there have been answers to solve it but I'm just not able to solve it irrespective of whichever way I try to add the path for the settings to work. And its rather frustrating that other django apps on my system work perfectly fine. </p>
  
  <p>Hierarchy: </p>
  
  <pre><code>bookda/settings.py
  bookda/books/script.py
  </code></pre>
  
  <p>I get the error while running the script.py.</p>