diff options
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() |