web/ldt/core/handlers/modpython.py
author wakimd
Wed, 22 Dec 2010 12:01:05 +0100
changeset 25 c8dfd7ea87e5
parent 1 3a30d255c235
permissions -rw-r--r--
Corrections on merge


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)