title: Problems with postgres database / syncdb after Heroku Django setup
body: <p>I'm new to the Heroku / Django / Postgres game, and running into trouble after following the instructions in their <a href="https://devcenter.heroku.com/articles/django" rel="nofollow">tutorial</a>. Here's my setup:</p>
  
  <p>Installed:
  Django 1.4.5
  dj_database_url
  Postgress.app 9.2.2.0</p>
  
  <pre><code>DATABASES = {
  'default': {
      'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
      'NAME': 'db_name',                      # Or path to database file if using sqlite3.
      'USER': '',                      # Not used with sqlite3.
      'PASSWORD': '',
      'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
      'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
   }
  }
  </code></pre>
  
  <p>and later on in settings.py:</p>
  
  <pre><code>import dj_database_url
      DATABASES['default'] = dj_database_url.config()
  </code></pre>
  
  <p>When I run python manage.py syncdb:</p>
  
  <pre><code>Traceback (most recent call last):
    File "manage.py", line 10, in &lt;module&gt;
     execute_from_command_line(sys.argv)
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-         packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  utility.execute()
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
  self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
  self.execute(*args, **options.__dict__)
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
  output = self.handle(*args, **options)
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
  return self.handle_noargs(**options)
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
  cursor = connection.cursor()
    File "/Users/joerobinson/.virtualenvs/dg/lib/python2.7/site-packages/django/db/backends/dummy/base.py", line 15, in complain
  raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
  django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
  </code></pre>
  
  <p>When I run python manage.py shell, import settings, and look at DATABASES, I get:</p>
  
  <pre><code>{'default': {'ENGINE': 'django.db.backends.dummy', 'TEST_MIRROR': None, 'NAME': '', 'TEST_CHARSET': None, 'TIME_ZONE': 'UTC', 'TEST_COLLATION': None, 'PORT': '', 'HOST': '', 'USER': '', 'TEST_NAME': None, 'PASSWORD':
  </code></pre>
  
  <p>So I know I must be configuring something improperly, but I haven't found the right settings in a night of searching. Anyone seen this before?</p>