diff options
author | Markus Krogh <markus@nordu.net> | 2017-06-02 13:19:30 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2017-06-02 13:19:30 +0200 |
commit | 934702f61f1cbdbf001ebb598c22c75efa247645 (patch) | |
tree | b0c6725a8c8a682b421aa35eea9662d7fff31bd6 /src/pwman/wsgi.py | |
parent | 41afbaae97384968df6312cbe570305208b2216e (diff) |
Django 1.11 compatible and cleaned up
Diffstat (limited to 'src/pwman/wsgi.py')
-rw-r--r-- | src/pwman/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
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() |