diff options
author | 2018-08-11 23:23:40 +0200 | |
---|---|---|
committer | 2018-08-11 23:23:40 +0200 | |
commit | 8bec0c42125637de740e44a6dd6c26cb3a71a467 (patch) | |
tree | 8313c889cd91e83be414a567f41a192ae4797d18 /pysite/wsgi.py | |
parent | Initial project layout for django (diff) |
Rename `pydis_django` to `pysite`.
Diffstat (limited to 'pysite/wsgi.py')
-rw-r--r-- | pysite/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pysite/wsgi.py b/pysite/wsgi.py new file mode 100644 index 00000000..0a7ca6bd --- /dev/null +++ b/pysite/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for pysite 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/2.1/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pysite.settings') + +application = get_wsgi_application() |