[Twisted-Python] Basic Resource Tree question

Lusana Ali ali.lusana at gmail.com
Wed Mar 14 06:43:06 EDT 2012


That worked a charm and I feel the fool for not having noticed that
simple error =)

Much appreciated!
Lusana

On Wed, Mar 14, 2012 at 9:16 PM, Enrique Samson Jr, <enriquejr at gmail.com> wrote:
> 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
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



More information about the Twisted-Python mailing list