title: Django database settings bad
body: <p>I do the following:</p>
  
  <p>myScript.py</p>
  
  <pre><code># settings.py
  from django.conf import settings
  from django.db import models
  from myApp.models import *
  
  
      settings.configure(
          DATABASE_ENGINE    = 'django.db.backends.mysql',
          DATABASE_NAME      = 'Test',
          DATABASE_USER      = 'root',
          DATABASE_PASSWORD  = 'testpw',
          DATABASE_HOST      = '/var/run/mysql',
          DATABASE_PORT      = '3306',
          INSTALLED_APPS     = ('myApp')
      )
  
      from django.db import models
      from myApp.models import *
  </code></pre>
  
  <p>With the following settings.py</p>
  
  <pre><code>DATABASE_ENGINE    = 'mysql'
  DATABASE_NAME      = 'Test'
  DATABASE_USER      = 'root'
  DATABASE_PASSWORD  = 'testpw'
  DATABASE_HOST      = '/var/run/mysql'
  DATABASE_PORT      = '3306'
  INSTALLED_APPS     = ('myApp')
  </code></pre>
  
  <p>I make a mistake with my settings but can not get what the error is. Database runs well and is accessible with the password and username ...
  In my manage.py I do next: <code>"DJANGO_SETTINGS_MODULE", "standAlone.myScript"</code></p>
  
  <p>This is my error:  <code>raise ImproperlyConfigured("settings.DATABASES is improperly configured. "django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured.</code></p>