From 977291e059fbfaeb938dd1a831b67c52bf9cf206 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Wed, 6 Feb 2019 10:11:01 +0900 Subject: [PATCH] Fix #83 --- app/app/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app/settings.py b/app/app/settings.py index a473c016..c9f4e3e0 100644 --- a/app/app/settings.py +++ b/app/app/settings.py @@ -191,8 +191,9 @@ IMPORT_BATCH_SIZE = 500 GOOGLE_TRACKING_ID = os.getenv('GOOGLE_TRACKING_ID', 'UA-125643874-2') +AZURE_APPINSIGHTS_IKEY = os.getenv('AZURE_APPINSIGHTS_IKEY') APPLICATION_INSIGHTS = { - 'ikey': os.getenv('AZURE_APPINSIGHTS_IKEY'), + 'ikey': AZURE_APPINSIGHTS_IKEY if AZURE_APPINSIGHTS_IKEY else None, } django_heroku.settings(locals(), test_runner=False)