mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-15 17:44:03 -05:00
put timezone dt in config
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import json
|
||||
import os
|
||||
import pytz
|
||||
|
||||
from app.cloudfoundry_config import cloud_config
|
||||
|
||||
@@ -13,6 +14,7 @@ class Config(object):
|
||||
LOGO_CDN_DOMAIN = 'static-logos.notifications.service.gov.uk' # TODO use our own CDN
|
||||
ASSETS_DEBUG = False
|
||||
TIMEZONE = os.environ.get('TIMEZONE', 'America/New_York')
|
||||
PY_TIMEZONE = pytz.timezone(TIMEZONE)
|
||||
|
||||
# Credentials
|
||||
ADMIN_CLIENT_SECRET = os.environ.get('ADMIN_CLIENT_SECRET')
|
||||
|
||||
Reference in New Issue
Block a user