web/ldt_utils/core/handlers/modpython.py
changeset 5 ae8593287883
parent 4 7c994c98d1df
child 6 7256b057c180
equal deleted inserted replaced
4:7c994c98d1df 5:ae8593287883
     1 
       
     2 def handler(req):
       
     3     activate_this = req.get_options().get("virtualenv.activate_path")
       
     4     execfile(activate_this, dict(__file__=activate_this))    
       
     5 
       
     6     import django.core.handlers.modpython
       
     7 
       
     8     return django.core.handlers.modpython.handler(req)