From 1ff21cb4abefefcf1d15cd4168d7b02977400490 Mon Sep 17 00:00:00 2001 From: Jeffrey Forman Date: Wed, 8 Oct 2014 09:44:29 -0400 Subject: [PATCH] add wsgi.py to binder project for use with apache --- wsgi.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wsgi.py diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..6d445c1 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,15 @@ +""" +WSGI config for binder 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 +import sys +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "binder.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application()