title: How to override settings.py with settings_local.py in Django 1.11
body: <p>I'm quite new in Django 1.11.1</p>
  
  <p>I want to ask how to override <code>settings.py</code> with <code>settings_local.py</code></p>
  
  <p>in my <strong>settings.py</strong> I have:</p>
  
  <pre><code>...
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }
  ...
  try:
     from settings_local import *
  except ImportError:
     pass
  </code></pre>
  
  <p>in my <strong>settings_local.py</strong> I have:</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql',
          'NAME': 'DB_NAME',
          'USER': 'USER_NAME',
          'PASSWORD': 'PASSWORD',
          'HOST': 'localhost',
          'PORT': '5432',
      }
  }
  </code></pre>
  
  <p>but everytime I do <code>python manage.py migrate</code>, the table only created in <code>sqlite3</code> not in <code>postgresql</code>.</p>
  
  <p>I already try to find and use the solution that already provided by other user and already install <code>psycopg2</code>, but still, cannot do it. Is there something wrong with my settings?</p>
  
  <p>Regards,</p>