[Twisted-Python] Rendering woven pages offline.

Donovan Preston dp at twistedmatrix.com
Sun Oct 12 18:53:35 EDT 2003

On Oct 12, 2003, at 4:52 PM, Syver Enstad wrote:

> I need to send a mail containing a woven page. Is it easy to setup
> rendering the page offline rather than to an HTTP request?

Yep, pretty easy. Just pass in a fake request to render, and capture 
the string passed to request.write. There is an example of doing this 
in test_woven. If you need more help, lemme know.


More information about the Twisted-Python mailing list