[Twisted-web] Using Cheetah with twisted.web
code.name.eric at gmail.com
Wed Feb 15 06:58:27 MST 2006
On 2/14/06, L. Daniel Burr <ldanielburr at mac.com> wrote:
> Probably. Rendering your template in this way will most certainly block
> the reactor, since Cheetah templates don't support Deferreds. On the
> other hand, if the template is rendering *very* quickly, then this code
> might not block for long enough to actually matter.
That is what I suspected. I will call the Cheetah template in deferToThread.
More information about the Twisted-web