oacpl/OACPL/wsgi.py
2017-08-17 13:33:50 -04:00

19 lines
433 B
Python

"""
WSGI config for OACPL 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.11/howto/deployment/wsgi/
"""
import os
import sys
from django.core.wsgi import get_wsgi_application
sys.path.append('/var/www/OACPL')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OACPL.settings")
application = get_wsgi_application()