From 55d0738b960b3bab76a5e01b677daed088043c4e Mon Sep 17 00:00:00 2001 From: kthoden Date: Wed, 9 Sep 2020 12:07:25 +0200 Subject: [PATCH] Add wsgi file --- website/website/wsgi.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 website/website/wsgi.py diff --git a/website/website/wsgi.py b/website/website/wsgi.py new file mode 100644 index 0000000..688dab1 --- /dev/null +++ b/website/website/wsgi.py @@ -0,0 +1,14 @@ +""" +WSGI config for website 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.6/howto/deployment/wsgi/ +""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application()