[Twisted-Python] Basic Resource Tree question

Enrique Samson Jr, enriquejr at gmail.com
Wed Mar 14 04:16:47 MDT 2012


On 03/14/2012 05:46 PM, Lusana Ali wrote:
> class Main(Resource):
>
>     def get_child(self, name, request):
>         print "trying to get main"
>         return IndexPage()

Try changing get_child to getChild.

--Enrique




More information about the Twisted-Python mailing list