mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Remove PY_TIMEZONE references (#547)
This changeset removes the PY_TIMEZONE configuration variable and updates all references to it to refer directly to pytz.utc instead. It also cleans up a few of the import statements and removes those that are no longer needed (like the current_app reference from Flask). Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -2,7 +2,6 @@ import json
|
||||
from os import getenv
|
||||
|
||||
import newrelic.agent
|
||||
import pytz
|
||||
|
||||
from app.cloudfoundry_config import cloud_config
|
||||
|
||||
@@ -15,7 +14,6 @@ class Config(object):
|
||||
HEADER_COLOUR = '#81878b' # mix(govuk-colour("dark-grey"), govuk-colour("mid-grey"))
|
||||
LOGO_CDN_DOMAIN = 'static-logos.notifications.service.gov.uk' # TODO use our own CDN
|
||||
ASSETS_DEBUG = False
|
||||
PY_TIMEZONE = pytz.utc
|
||||
|
||||
# Credentials
|
||||
ADMIN_CLIENT_SECRET = getenv('ADMIN_CLIENT_SECRET')
|
||||
|
||||
Reference in New Issue
Block a user