From 483042cd32fe01c7f3ef34ceb859688dc199cbf7 Mon Sep 17 00:00:00 2001 From: Thierry Carrez <thierry@openstack.org> Date: Mon, 19 Dec 2016 10:52:00 +0100 Subject: [PATCH] Add missing wsgi.py in odsreg Add wsgi.py to the odsreg module. Change-Id: If4a3428963b6d9e7369620e1dca063a892966a05 --- odsreg/wsgi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 odsreg/wsgi.py diff --git a/odsreg/wsgi.py b/odsreg/wsgi.py new file mode 100644 index 0000000..56a8aad --- /dev/null +++ b/odsreg/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for odsreg 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/1.8/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "odsreg.settings") + +application = get_wsgi_application()