I think you misunderstood the part where it said "If the file doesn't exist, it will automatically be created". It says "file", not "filename". A file name or path must be given. The file *at the path* doesn't need to exist, but the path needs to be specified.
The quickest way to get started is to change it to something like "dev.sqlite3" and re-run it. Ben On Mon, Jul 19, 2010 at 6:53 PM, john <johnhitz...@msn.com> wrote: > When I run python manage.py syncdb I get the following error. I left > the name field blank expecting Django to fill in the file name. Am I > miss understanding the Name section of the intro? > > "NAME -- The name of your database. If you're using SQLite, the > database will be a file on your computer; in that case, NAME should be > the full absolute path, including filename, of that file. If the file > doesn't exist, it will automatically be created when you synchronize > the database for the first time (see below)." > > I am running Django in a virtualenv and am using > Traceback (most recent call last): > File "manage.py", line 11, in <module> > execute_manager(settings) > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/__init__.py", line 438, in execute_manager > utility.execute() > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/__init__.py", line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/base.py", line 191, in run_from_argv > self.execute(*args, **options.__dict__) > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/base.py", line 218, in execute > output = self.handle(*args, **options) > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/base.py", line 347, in handle > return self.handle_noargs(**options) > File "/home/john/Django/lib/python2.6/site-packages/django/core/ > management/commands/syncdb.py", line 52, in handle_noargs > cursor = connection.cursor() > File "/home/john/Django/lib/python2.6/site-packages/django/db/ > backends/__init__.py", line 75, in cursor > cursor = self._cursor() > File "/home/john/Django/lib/python2.6/site-packages/django/db/ > backends/sqlite3/base.py", line 168, in _cursor > raise ImproperlyConfigured("Please fill out the database NAME in > the settings module before using the database.") > django.core.exceptions.ImproperlyConfigured: Please fill out the > database NAME in the settings module before using the database. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.