[Twisted-Python] The problem with Twisted...
Andrew Bennetts
andrew-twisted at puzzling.org
Thu Jun 5 07:17:13 MDT 2003
On Thu, Jun 05, 2003 at 01:42:28PM +0200, Philippe Lafoucri?re wrote:
>
> > But wvfactory_foo's third argument is a DOM node, not a generic Widget.
> > There is no 'widget' in a wvfactory_.
>
> ho ok, haven't seen that.
This difference is mentioned under the "wvupdate_" heading of
doc/howto/viewindepth.
> In pilePicture tutorial, in ImageDisplay class :
>
> def wchild_preview(self, request): return static.File(self.image)
>
> "static" comes from nowhere.
It comes from this import line:
from twisted.web import server, static
-Andrew.
More information about the Twisted-Python
mailing list