diff --git a/apache/django.wsgi b/apache/django.wsgi index d24a27dab..81ba62550 100644 --- a/apache/django.wsgi +++ b/apache/django.wsgi @@ -1,5 +1,8 @@ import os.path import sys +import os + +os.environ['IS_RUNNING_UNDER_MOD_WSGI'] = 'true' sys.path.append(os.path.split(os.path.split(os.path.abspath(__file__))[0])[0]) from django.core.wsgi import get_wsgi_application