diff options
Diffstat (limited to 'forums/settings.py')
-rw-r--r-- | forums/settings.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/forums/settings.py b/forums/settings.py index 406ac21..725bf62 100644 --- a/forums/settings.py +++ b/forums/settings.py @@ -34,8 +34,16 @@ DATABASES = { 'PASSWORD': db_pass, 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. 'PORT': '', # Set to empty string for default. + }, + 'otc': { + 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'OTC', # Or path to database file if using sqlite3. + # The following settings are not used with sqlite3: + 'USER': db_user, + 'PASSWORD': db_pass, + 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. + 'PORT': '', # Set to empty string for default. } - } # Hosts/domain names that are valid for this site; required if DEBUG is False |