web/ldt/core/handlers/modpython.py
changeset 0 ecdfc63274bf
equal deleted inserted replaced
-1:000000000000 0:ecdfc63274bf
       
     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)