[Twisted-web] wmfactory not consistently executed

Michal Pasternak twisted-web@twistedmatrix.com
Sat, 10 Jan 2004 17:01:25 +0100


Dean Skuldt [Sat, Jan 10, 2004 at 08:47:42AM -0800]:
> I'm new to woven, but my understanding from the documentation is that the
> appropriate model factories are executed for every request/response.  By
> watching the twistd.log for a print statement in my wmfactory, it seems that
> the wmfactory method is not executed for every request/response.

Perhaps you could use View -- change:

>     <div model="test"/>

to:

	<div model="test" view="Text" />