oacpl/OACPL/wsgi.py

19 lines
433 B
Python
Raw Permalink Normal View History

2017-08-17 13:20:57 -04:00
"""
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
2017-08-17 13:33:50 -04:00
import sys
2017-08-17 13:20:57 -04:00
from django.core.wsgi import get_wsgi_application
2017-08-17 13:33:50 -04:00
sys.path.append('/var/www/OACPL')
2017-08-17 13:20:57 -04:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OACPL.settings")
application = get_wsgi_application()