2020-08-20 07:38:42 +00:00
|
|
|
"""
|
|
|
|
WSGI config for NewMediaMonitoring 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/2.1/howto/deployment/wsgi/
|
|
|
|
"""
|
|
|
|
|
|
|
|
import os
|
|
|
|
import signal
|
|
|
|
import sys
|
|
|
|
import time
|
|
|
|
import traceback
|
|
|
|
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
|
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'NewMediaMonitoring.settings')
|
2020-12-08 13:27:35 +00:00
|
|
|
sys.path.append("/var/www/p3/newmediamonitoring/current")
|
|
|
|
# sys.path.append("/var/www/p3/newmediamonitoring")
|
2020-08-20 07:38:42 +00:00
|
|
|
application = get_wsgi_application()
|