[Twisted-web] wmfactory not consistently executed

Dean Skuldt twisted-web@twistedmatrix.com
Sat, 10 Jan 2004 09:07:43 -0800 (PST)


Thanks for your quick response. I tried it out, and I'm observing the same
behaviour. Hmmmmm.

--- Michal Pasternak <michal@pasternak.w.lub.pl> wrote:
> 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" />
> 
> _______________________________________________
> Twisted-web mailing list
> Twisted-web@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus