[Twisted-web] A question with storm orm and Nevow

Daniel Yang daniel.yang.zhenyu at gmail.com
Wed Jul 8 10:59:13 EDT 2009


Hi people,

I am using storm orm(twisted-integration) with Nevow.
There is a question that confuses me a lot:
(since storm orm(twisted-integration) does db io in a asynchronous way).
In a render function, before my data returns, what should I return for the
render function?

does Nevow has something like server.NOT_DONE_YET?
or there is a "deferred" way to do this?


FYI: http://www.divmod.org/trac/wiki/DivmodNevow/Storm
This article does not help.

Thanks!



-- 
-----------------------------------------------
Yours
Faithfully

Daniel Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20090708/838854b9/attachment.htm 


More information about the Twisted-web mailing list