[Twisted-Python] Woven and submodelling through deferreds
syver-en at online.no
Wed Aug 6 19:42:33 EDT 2003
Glyph Lefkowitz <glyph at twistedmatrix.com> writes:
> On Wednesday, August 6, 2003, at 04:47 AM, Syver Enstad wrote:
> > I found a bug by the way:
> Enter it into the bugtracker, please?
Should this work?
In some template:
<td model="deferredModel/One" view="Text">List item here</td>
<td model="deferredModel/Two" view="Text">List item here</td>
def wmfactory_deferredModel(self, request):
return deferred # promises to be a dictionary
As it is now this fails in lookupSubmodel / getSubmodel, because the
DeferredWrapper has not got a submodel named One.
More information about the Twisted-Python