[Twisted-web] twisted.web.resource putChild method

Andy Fundinger Andy at NewWorldElectric.com
Mon Jul 21 18:51:13 EDT 2008

You can do that most anywhere, I like to do it in getChild() to create
resources when they are first accessed.

-Andy Fundinger

On Mon, Jul 21, 2008 at 6:31 PM, arun chhetri <chhetriarun84 at gmail.com>

> Hi,
> I am new to twisted and just want to know a very simple thing
> Do we always have to use putChild method in __init__() of a Class or we c=
> use it any where in the Class for example with in render function in which
> we do self.putChild
> Thanks
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

-- =

Blog: http://channel3b.wordpress.com
Second Life Name: Ciemaar Flintoff

What would you do if they outlawed hypothetical questions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20080721/be=

More information about the Twisted-web mailing list