add wsgi.py to binder project for use with apache

This commit is contained in:
Jeffrey Forman 2014-10-08 09:44:29 -04:00
parent 06c1b268b4
commit 1ff21cb4ab
1 changed files with 15 additions and 0 deletions

15
wsgi.py Normal file
View File

@ -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()