django-configurations/configurations/wsgi.py
2012-07-21 15:56:04 +02:00

14 lines
339 B
Python

from . import importer
importer.install()
try:
from django.core.wsgi import get_wsgi_application
except ImportError: # pragma: no cover
from django.core.handlers.wsgi import WSGIHandler
def get_wsgi_application(): # noqa
return WSGIHandler()
# this is just for the crazy ones
application = get_wsgi_application()