django-configurations/configurations/wsgi.py
Brian Helba ec12828877 Simplify import of django.core.wsgi.get_wsgi_application
This has been available since Django 1.4. The import guard is no longer necessary.
2021-10-25 09:52:21 -04:00

8 lines
182 B
Python

from . import importer
importer.install()
from django.core.wsgi import get_wsgi_application # noqa: E402
# this is just for the crazy ones
application = get_wsgi_application()