[Twisted-Python] The Twisted registration form

Matt Campbell mattcampbell at pobox.com
Tue Apr 2 14:45:53 EST 2002


I see that the RegServer class is a subclass of Form, which is a type
of widget.  But how does one add this widget to a Web server which
seems to use primarily static content?  Is the widget instantiated and
called from a .epy script, or is some other technique used?  Thanks.

Itamar wrote:
> The code is in doc/examples/regserver.py, something like that (in
0.16.0
> tarball). Either uses twisted.web.widgets, or it's a custom
> twisted.web.resource.Resource, I don't remember.





More information about the Twisted-Python mailing list