Skip to content

Instantly share code, notes, and snippets.

@mallyvai
Last active Oct 27, 2015
Embed
What would you like to do?
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise
from raven.contrib.django.raven_compat.middleware.wsgi import Sentry
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
application = Sentry(application)
application = DjangoWhiteNoise(application)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment