From 9aaf14b3b11dbcbd0f17c4872e6f6df7d643ed9a Mon Sep 17 00:00:00 2001 From: Dennis Ahrens <dennis.ahrens@hs-hannover.de> Date: Wed, 21 Sep 2016 18:57:47 +0200 Subject: [PATCH] Add wsgi.py to be able to serve it in test deployment --- helloworld/wsgi.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 helloworld/wsgi.py diff --git a/helloworld/wsgi.py b/helloworld/wsgi.py new file mode 100644 index 0000000..e5ea93d --- /dev/null +++ b/helloworld/wsgi.py @@ -0,0 +1,11 @@ +""" +WSGI config for helloworld project. + +It exposes the WSGI callable as a module-level variable named ``application``. +""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "helloworld.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application() -- GitLab