Re: Reuse twisted.web resources in nevow
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <20091127143945.2549.1540691022.divmod.xquotient.3@localhost.localdomain> |
On 26 Nov, 11:05 pm, [email protected] wrote: >Hi all >my app is entirely writen using twisted.web resources. Now i'm thinking >to migrate to nevow, >and i'd like to know is it possible to reuse my old resources inside >nevow. >Would it be possible to write a nevow class that render twisted.web >resources. >Any examples are welcome. Nevow Pages basically support this now (although I don't know how completely). If you add a Twisted Web Resource as a child of a Nevow Page, Nevow will traverse to the Resource and render it. Jean-Paul