22 lines
548 B
Python
22 lines
548 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()
|
|
|