path to sqlite db shud be absolute

This commit is contained in:
Sanj 2011-12-15 18:29:44 +05:30
parent e28ab92ba2
commit 55c7b3a717
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -19,7 +19,7 @@ MANAGERS = ADMINS
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'chalobest.db', # Or path to database file if using sqlite3. 'NAME': join(PROJECT_ROOT, 'chalobest.db'), # Or path to database file if using sqlite3.
'USER': 'sanj', # Not used with sqlite3. 'USER': 'sanj', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.