aboutsummaryrefslogtreecommitdiff
path: root/glifestream/wsgi.virtualenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'glifestream/wsgi.virtualenv.py')
-rw-r--r--glifestream/wsgi.virtualenv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glifestream/wsgi.virtualenv.py b/glifestream/wsgi.virtualenv.py
index c9ad02e..7e3d6b7 100644
--- a/glifestream/wsgi.virtualenv.py
+++ b/glifestream/wsgi.virtualenv.py
@@ -15,6 +15,8 @@
import os
import sys
+from django.core.wsgi import get_wsgi_application
+
SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
os.environ['DJANGO_SETTINGS_MODULE'] = 'glifestream.settings'
@@ -24,5 +26,4 @@ execfile(activate_this, dict(__file__=activate_this))
sys.path.insert(0, os.path.join(SITE_ROOT, '../'))
-from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

Return to:

Send suggestions and report system problems to the System administrator.