This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-11-11 12:41:48 +00:00
|
|
|
"""
|
|
|
|
WSGI config for passbook 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/2.1/howto/deployment/wsgi/
|
|
|
|
"""
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
2019-04-05 14:11:53 +00:00
|
|
|
from sentry_sdk.integrations.wsgi import SentryWsgiMiddleware
|
2018-11-11 12:41:48 +00:00
|
|
|
|
2019-10-01 13:42:14 +00:00
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'passbook.root.settings')
|
2018-11-11 12:41:48 +00:00
|
|
|
|
2019-04-05 14:11:53 +00:00
|
|
|
application = SentryWsgiMiddleware(get_wsgi_application())
|