[Twisted-Python] Rendering woven pages offline.
Donovan Preston
dp at twistedmatrix.com
Sun Oct 12 16:53:35 MDT 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.
dp
More information about the Twisted-Python
mailing list