Silly question,
but are you setting the path to your database file or to the Sqlite3
executable?
Just seems an odd name to use as your database file, if using sqlite3
I would normally create a database named closely to my project name.
my_project.db or something.
--
You received this message
On Nov 1, 7:24 am, sami nathan wrote:
> My setting file looks like this
...
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3', # Add
> 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
> 'NAME':
>
My setting file looks like this
# Django settings for flyp project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_em...@domain.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add
'postgresql_psycopg2',
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 ignoredDATABASES = {
'default': {
'ENGINE':
4 matches
Mail list logo