mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
added feature flag
This commit is contained in:
@@ -78,6 +78,8 @@ class Config(object):
|
||||
# TODO: reassign this
|
||||
NOTIFY_SERVICE_ID = "d6aa2c68-a2d9-4437-ab19-3ae8eb202553"
|
||||
|
||||
ORGANIZATION_DASHBOARD_ENABLED = getenv("ORGANIZATION_DASHBOARD_ENABLED", "False") == "True"
|
||||
|
||||
NOTIFY_BILLING_DETAILS = json.loads(getenv("NOTIFY_BILLING_DETAILS") or "null") or {
|
||||
"account_number": "98765432",
|
||||
"sort_code": "01-23-45",
|
||||
@@ -109,6 +111,9 @@ class Development(Config):
|
||||
ASSET_PATH = "/static/"
|
||||
NOTIFY_LOG_LEVEL = "DEBUG"
|
||||
|
||||
# Feature Flags - Enable in development for testing
|
||||
ORGANIZATION_DASHBOARD_ENABLED = getenv("ORGANIZATION_DASHBOARD_ENABLED", "True") == "True"
|
||||
|
||||
# Buckets
|
||||
CSV_UPLOAD_BUCKET = _s3_credentials_from_env("CSV")
|
||||
LOGO_UPLOAD_BUCKET = _s3_credentials_from_env("LOGO")
|
||||
|
||||
Reference in New Issue
Block a user