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