web/ldt/core/handlers/modpython.py
author wakimd
Tue, 05 Oct 2010 18:19:44 +0200
changeset 91 9c83809fda01
parent 0 cc4a51750724
child 100 c5514a2bfdcd
permissions -rw-r--r--
migration static elements


def handler(req):
    activate_this = req.get_options().get("virtualenv.activate_path")
    execfile(activate_this, dict(__file__=activate_this))    

    import django.core.handlers.wsgi

    return django.core.handlers.wsgi.handler(req)