diff -r 5087560b51b6 -r df60d20f965c src/ldt/ldt/core/handlers/modwsgi.py --- a/src/ldt/ldt/core/handlers/modwsgi.py Thu Apr 02 17:29:54 2015 +0200 +++ b/src/ldt/ldt/core/handlers/modwsgi.py Fri Apr 03 17:52:48 2015 +0200 @@ -19,8 +19,8 @@ sys.path.remove(item) sys.path[:0] = new_sys_path - import django.core.handlers.wsgi + import django.core.wsgi - _application = django.core.handlers.wsgi.WSGIHandler() + _application = django.core.wsgi.get_wsgi_application() return _application(environ, start_response)