[Twisted-web] returning a formless form from render_foo

Valentino Volonghi dialtone at gmail.com
Sun Sep 5 03:50:45 MDT 2004

On Sun, 5 Sep 2004 15:42:50 +1000, Tim Stebbing <tjstebbing at gmail.com> wrote:

> def render_foo(self, ctx, data):
>     return FooForm()
> Why is it trying to adapt the Index resource? whats the proper way to
> include a form resource in a templates output?

def render_foo(self, ctx, data):
    return webform.renderForms()

This should work.

Valentino Volonghi aka Dialtone
Linux User #310274, Proud Gentoo User
Blog: http://vvolonghi.blogspot.com
Home Page: http://xoomer.virgilio.it/dialtone/

More information about the Twisted-web mailing list