mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Added preview and staging config blocks
This commit is contained in:
10
config.py
10
config.py
@@ -36,12 +36,22 @@ class Test(Development):
|
|||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notification_api'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notification_api'
|
||||||
|
|
||||||
|
|
||||||
|
class Preview(Config):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class Staging(Config):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Live(Config):
|
class Live(Config):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
configs = {
|
configs = {
|
||||||
'development': Development,
|
'development': Development,
|
||||||
|
'preview': Preview,
|
||||||
|
'staging': Staging,
|
||||||
'test': Test,
|
'test': Test,
|
||||||
'live': Live,
|
'live': Live,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user