diff --git a/configurations/asgi.py b/configurations/asgi.py new file mode 100644 index 0000000..b257d60 --- /dev/null +++ b/configurations/asgi.py @@ -0,0 +1,14 @@ +from . import importer + +importer.install() + +try: + from django.core.asgi import get_asgi_application +except ImportError: # pragma: no cover + from django.core.handlers.asgi import ASGIHandler + + def get_asgi_application(): # noqa + return ASGIHandler() + +# this is just for the crazy ones +application = get_asgi_application()