Add local postgres database for training to settings

This commit is contained in:
Tom Price
2015-10-21 16:08:17 +01:00
parent 37e5549736
commit fa231887d2

View File

@@ -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',
}
}