[Twisted-Python] Rendering Woven pages from non-Woven resources?

Donovan Preston dp at twistedmatrix.com
Mon Oct 20 00:50:25 EDT 2003


On Oct 20, 2003, at 12:35 AM, Stuart Hungerford wrote:
>

<snip>

>        class old_resource(twisted.web.resource.Resource):
>            isLeaf = 1
>            def render(self, request):
>                # get new_page() rendered from here

		return new_page().render(request)

Tada! :-)

dp





More information about the Twisted-Python mailing list