okfn-brasil/serenata-de-amor

View on GitHub
jarbas/wsgi.py

Summary

Maintainability
A
0 mins
Test Coverage
"""
WSGI config for Jarbas project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jarbas.settings")


import newrelic.agent
newrelic.agent.initialize()

application = get_wsgi_application()