From 870e3627bf6119587367482f6f2da43be3bdec95 Mon Sep 17 00:00:00 2001 From: John Carter Date: Mon, 26 Sep 2016 20:53:36 +1300 Subject: [PATCH] default wsgi.py --- example/cheeseshop/wsgi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 example/cheeseshop/wsgi.py diff --git a/example/cheeseshop/wsgi.py b/example/cheeseshop/wsgi.py new file mode 100644 index 0000000..0c51c97 --- /dev/null +++ b/example/cheeseshop/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for cheeseshop 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.8/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cheeseshop.settings") + +application = get_wsgi_application()