1
import django.core.handlers.modpython
2
3
def handler(req):
4
activate_this = req.get_options().get("virtualenv.activate_path")
5
execfile(activate_this, dict(__file__=activate_this))
6
return django.core.handlers.modpython.handler(req)