mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 14:17:09 +00:00
Change database syntax to modern format as old style no longer
supported in django 1.4
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
DATABASE_NAME = '' # Or path to database file if using sqlite3.
|
||||
DATABASE_USER = '' # Not used with sqlite3.
|
||||
DATABASE_PASSWORD = '' # Not used with sqlite3.
|
||||
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
||||
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
||||
'NAME': 'troggle', # Or path to database file if using sqlite3.
|
||||
'USER': 'expo', # Not used with sqlite3.
|
||||
'PASSWORD': 'gosser', # Not used with sqlite3.
|
||||
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
||||
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
||||
}
|
||||
}
|
||||
|
||||
SURVEX_DATA = 'c:\\Expo\\loser\\'
|
||||
CAVERN = 'cavern'
|
||||
|
||||
Reference in New Issue
Block a user