diff -r 000000000000 -r ecdfc63274bf web/ldt/core/handlers/modpython.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/ldt/core/handlers/modpython.py Tue Jun 08 01:16:35 2010 +0200 @@ -0,0 +1,6 @@ +import django.core.handlers.modpython + +def handler(req): + activate_this = req.get_options().get("virtualenv.activate_path") + execfile(activate_this, dict(__file__=activate_this)) + return django.core.handlers.modpython.handler(req) \ No newline at end of file