OperationalError: unable to open database file

2013-07-22 Thread Stian Sjøli
i get this error while going throught the tutorial from the django website. 
I am a mac user, and have modified my settings-file to use sqlite3 and the 
name variable to say "./mysite". Any suggestions why I get this error?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




dear someone,

2013-07-22 Thread Stian Sjøli
I am trying to start up with django using the tutorial on the website. I 
get the following error "OperationalError: unable to open database file. I 
have change the mood for all my files so that everybody (user, group and 
others have all right to all the files in the folder). My settings.py file 
I have modified to say(so that I can use the builtin sqlite3 with python;

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 
'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': './mysite/',  # Or path to database 
file if using sqlite3.
# The following settings are not used with sqlite3:
'USER': '',
'PASSWORD': '',
'HOST': '',  # Empty for localhost through 
domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '',  # Set to empty string for default.
}
}

from another tutorial I wonder if it could be that django does not know of 
where my python is, and vica versa...

i am greatful for any help or suggestions.


stian

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.