import os
from django.core.wsgi import get_wsgi_application

os.environ.setdefault(
    "DJANGO_SETTINGS_MODULE", "pyconcz_2016.settings_dev")

application = get_wsgi_application()

import os
from django.core.wsgi import get_wsgi_application

os.environ.setdefault(
    "DJANGO_SETTINGS_MODULE", "pyconcz_2016.settings_dev")

if os.environ.get('NEW_RELIC_ENVIRONMENT') == 'production':
    import newrelic.agent
    newrelic.agent.initialize()

application = get_wsgi_application()


Add newrelic agent config