From 44ca1ccac6654ebfb96959833f6b803ea15181c3 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 6 Feb 2012 16:20:00 -0400 Subject: [PATCH] Move dispatch to the correct place --- wsgi/dispatch.wsgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wsgi/dispatch.wsgi b/wsgi/dispatch.wsgi index 39c427a61a..68cd5368ac 100644 --- a/wsgi/dispatch.wsgi +++ b/wsgi/dispatch.wsgi @@ -2,8 +2,6 @@ import os import sys import site -from django.core.handlers.wsgi import WSGIHandler - sys.stdout = sys.stderr #TODO fix properly @@ -21,4 +19,6 @@ sys.path.insert(0, ve_path) os.environ['PYTHON_EGG_CACHE'] = '/tmp' os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' +from django.core.handlers.wsgi import WSGIHandler + application = WSGIHandler()