From fa231887d2d86cca556fbbfac0b0f3bfc0b1feba Mon Sep 17 00:00:00 2001 From: Tom Price Date: Wed, 21 Oct 2015 16:08:17 +0100 Subject: [PATCH] Add local postgres database for training to settings --- PyRIGS/settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index e7dbb448..b62970e9 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -74,6 +74,14 @@ DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + }, + # Legacy training database + 'training': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'HOST': 'localhost', + 'NAME': 'tec_training', + 'USER': 'pyrigs', + 'PASSWORD': 'pyrigs', } }