mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add local postgres database for training to settings
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user