Re: docFactory at Nevow Elements
Juanjo Conti <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
2009/9/30 <[email protected]> [snip] > There's also nevow.loaders.xmlstr. > > You may not want to bother making a new docFactory for every page > render, though. You might want to make a single render function and > return the string from that, wrapped in nevow.tags.xml. > > Excelent! docFactory = loaders.stan(T.xml(render_to_string('ter.html', {}))) -- Juanjo Conti blog: http://www.juanjoconti.com.ar _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web