title: Django database connection error
body: <p>I ran these lines from "python manage.py shell":</p>
  
  <pre><code>from django.db import connection
  cursor = connection.cursor()
  </code></pre>
  
  <p>But got the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 306, in cursor
      cursor = self.make_debug_cursor(self._cursor())
    File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 177, in _cursor
      self.connection = Database.connect(**conn_params)
    File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
      connection_factory=connection_factory, async=async)
  OperationalError: FATAL:  role "jay" does not exist
  </code></pre>
  
  <p>In settings.py I have</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2', 
          'NAME': 'mysite',                     
          'USER': '',                     
          'PASSWORD': '',                  
          'HOST': '',                      
          'PORT': '',                     
      }
  }
  </code></pre>
  
  <p>What am I doing wrong here? I installed postgresql and the adapter</p>