vcp-elearning/tkupek_elearning/wsgi.py
2016-03-19 11:15:48 +01:00

21 lines
547 B
Python

"""
WSGI config for tkupek_elearning 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.9/howto/deployment/wsgi/
"""
import os
import sys
from django.core.wsgi import get_wsgi_application
base = os.path.dirname(os.path.dirname(__file__))
base_parent = os.path.dirname(base)
sys.path.append(base)
sys.path.append(base_parent)
os.environ["DJANGO_SETTINGS_MODULE"] = "tkupek_elearning.settings"
application = get_wsgi_application()