add wsgi.py to binder project for use with apache
This commit is contained in:
parent
06c1b268b4
commit
1ff21cb4ab
|
@ -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()
|
Loading…
Reference in New Issue