From 934702f61f1cbdbf001ebb598c22c75efa247645 Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Fri, 2 Jun 2017 13:19:30 +0200 Subject: Django 1.11 compatible and cleaned up --- src/pwman/wsgi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/pwman/wsgi.py (limited to 'src/pwman/wsgi.py') diff --git a/src/pwman/wsgi.py b/src/pwman/wsgi.py new file mode 100644 index 0000000..3719d7f --- /dev/null +++ b/src/pwman/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for pwman 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.11/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pwman.settings") + +application = get_wsgi_application() -- cgit v1.1