From ab8b798547e82ca79882ba28b1920077c803425f Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 5 Apr 2019 18:24:32 +0100 Subject: pysite -> pydis_site --- pydis_site/wsgi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pydis_site/wsgi.py (limited to 'pydis_site/wsgi.py') diff --git a/pydis_site/wsgi.py b/pydis_site/wsgi.py new file mode 100644 index 00000000..853e56f1 --- /dev/null +++ b/pydis_site/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for pydis_site 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', 'pydis_site.settings') + +application = get_wsgi_application() -- cgit v1.2.3