web/ldt/core/handlers/modpython.py
author wakimd
Fri, 22 Oct 2010 18:14:30 +0200
changeset 1 eb9188f2ee4f
permissions -rw-r--r--
first commit


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)