added feature flag

This commit is contained in:
Beverly Nguyen
2025-10-14 12:37:12 -07:00
parent 1e58c3d9fa
commit f4d326738c
9 changed files with 19 additions and 3 deletions

View File

@@ -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")