mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 07:22:14 +00:00
Add local postgres database for training to settings
This commit is contained in:
@@ -74,6 +74,14 @@ DATABASES = {
|
|||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.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