From df6bb82c330927111a6509c0901cd3057e4c1a1c Mon Sep 17 00:00:00 2001 From: Chris Church Date: Wed, 13 Mar 2013 16:55:34 -0400 Subject: [PATCH] Added wsgi application. --- lib/wsgi.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/wsgi.py 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()