"""
WSGI config for em2021 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/4.1/howto/deployment/wsgi/
"""

import os

import sys
import site

site.addsitedir('/home/ewrg-envis-22/python_virtualenv/emsession/lib/python3.8/site-packages')

sys.path.append('/www/html/energy/distance_education_courses/internet-course-2021/em2021')
sys.path.append('/www/html/energy/distance_education_courses/internet-course-2021')


from django.core.wsgi import get_wsgi_application

os.environ['DJANGO_SETTINGS_MODULE'] =  'em2021.settings'

activate_env=os.path.expanduser('/home/ewrg-envis-22/python_virtualenv/emsession/bin/activate_this.py')
exec(open(activate_env).read(), {'__file__':activate_env})

application = get_wsgi_application()
