Get database from project directory, not current working directory

This commit is contained in:
Frédéric Péters 2010-06-01 09:26:52 +02:00
parent 191c832353
commit b424fddc38
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'authentic.db', # Or path to database file if using sqlite3.
'NAME': os.path.join(PROJECT_PATH, 'authentic.db'), # 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.