[Twisted-Python] Accessing app-wide data in Woven

Itamar Shtull-Trauring itamar at itamarst.org
Fri Jul 18 12:12:11 MDT 2003


On Fri, 18 Jul 2003 13:58:53 -0400
Christopher Armstrong <radix at twistedmatrix.com> wrote:

> > The top-level RPY does:
> > 
> >     request.setComponent(ISiteConfiguration, myConfig)
> 
> well, the request isn't available in the rpy, only in the methods of
> the resource it returns

You'd set it in the rpy's resource's getChild, probably.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list