Browse Source

Fix #83

pull/91/head
Hironsan 5 years ago
parent
commit
977291e059
1 changed files with 2 additions and 1 deletions
  1. 3
      app/app/settings.py

3
app/app/settings.py

@ -191,8 +191,9 @@ IMPORT_BATCH_SIZE = 500
GOOGLE_TRACKING_ID = os.getenv('GOOGLE_TRACKING_ID', 'UA-125643874-2') GOOGLE_TRACKING_ID = os.getenv('GOOGLE_TRACKING_ID', 'UA-125643874-2')
AZURE_APPINSIGHTS_IKEY = os.getenv('AZURE_APPINSIGHTS_IKEY')
APPLICATION_INSIGHTS = { 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) django_heroku.settings(locals(), test_runner=False)
Loading…
Cancel
Save