src/ldt/ldt/core/handlers/modpython.py
author ymh <ymh.work@gmail.com>
Sat, 29 Jan 2011 06:46:14 +0100
changeset 13 97ab7b3191cf
parent 0 bdf22b140727
permissions -rw-r--r--
add api to update project, uses psiton


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)