From 7faf2e1cb91195055b2289c5cac2ede1eb507633 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Sun, 15 Apr 2018 16:29:30 +0100 Subject: [PATCH] Django 1.7 wsgi.py --- wsgi.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 wsgi.py diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..056838b --- /dev/null +++ b/wsgi.py @@ -0,0 +1,14 @@ +""" +WSGI config for mysite 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.7/howto/deployment/wsgi/ +""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application()