diff --git a/lib/wsgi.py b/lib/wsgi.py new file mode 100644 index 0000000000..be06f1ea20 --- /dev/null +++ b/lib/wsgi.py @@ -0,0 +1,14 @@ +""" +WSGI config for Ansible Commander 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/dev/howto/deployment/wsgi/ +""" + +import os +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lib.settings') + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application()