Get database from project directory, not current working directory
This commit is contained in:
parent
191c832353
commit
b424fddc38
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue