When i run the command python manage.py syncdb i got the follwing error




    self.connection = Database.connect(**kwargs)
sqlite3.OperationalError: unable to open database file
Exception exceptions.AttributeError: '_shutdown' in <module 'threading' from 'D:
\Python25\lib\threading.pyc'> ignoredDATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add
'postgresql_psycopg2', 'postgresql', 'mysql',



MY DB SETUP LOOKS LIKE THIS
   'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add
'postgresql_psycopg2', 'postgresql', 'mysql',

'sqlite3' or 'oracle'.
        'NAME':
'D:\Python25\Lib\site-packages\django\bin\flyp\sqlite3',
       # Or

path to database file if using sqlite3.
        'USER': '',                      # Not used with sqlite3.
        'PASSWORD': '',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for
localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for
default. Not used with sqlite3.
    }
}

-- 
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.

Reply via email to