title: Django Newbie: python manage.py syncdb error?
body: <p>Working on the Django tutorial at the moment and got this error when I tried:</p>
  
  <pre><code>python manage.py syncdb
  </code></pre>
  
  <p>Using sqlite3</p>
  
  <pre><code>Traceback (most recent call last):
    File "manage.py", line 10, in &lt;module&gt;
      execute_from_command_line(sys.argv)
    File "/Library/Python/2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
      utility.execute()
    File "/Library/Python/2.6/site-packages/django/core/management/__init__.py", line 382, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/Library/Python/2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
      self.execute(*args, **options.__dict__)
    File "/Library/Python/2.6/site-packages/django/core/management/base.py", line 232, in execute
      output = self.handle(*args, **options)
    File "/Library/Python/2.6/site-packages/django/core/management/base.py", line 371, in handle
      return self.handle_noargs(**options)
    File "/Library/Python/2.6/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
      cursor = connection.cursor()
    File "/Library/Python/2.6/site-packages/django/db/backends/__init__.py", line 306, in cursor
      cursor = self.make_debug_cursor(self._cursor())
    File "/Library/Python/2.6/site-packages/django/db/backends/sqlite3/base.py", line 281, in _cursor
      self._sqlite_create_connection()
    File "/Library/Python/2.6/site-packages/django/db/backends/sqlite3/base.py", line 271, in _sqlite_create_connection
      self.connection = Database.connect(**kwargs)
  sqlite3.OperationalError: unable to open database file
  </code></pre>
  
  <p>My settings.py file reads:</p>
  
  <pre><code>        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
          'NAME': '/Users/username/django_tutorial/mysite', 
  </code></pre>
  
  <p>Anyone know the problem here? it seems like I am putting in the complete file directory, but the databases still couldn't be created? ):</p>