changeset 4 | 7c994c98d1df |
parent 0 | ecdfc63274bf |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/ldt_utils/core/handlers/modpython.py Tue Jun 08 15:31:42 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