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

Christopher Armstrong radix at twistedmatrix.com
Fri Jul 18 11:58:53 MDT 2003


On Fri, Jul 18, 2003 at 01:28:21PM -0400, Itamar Shtull-Trauring wrote:
> Define a marker interface ISiteConfiguration.
> 
> 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


-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list