RES: [Twisted-Python] Woven and nested database queries
wenderson at casadosprogramadores.com.br
Mon Dec 1 10:40:45 EST 2003
Thanks for your reply, but I tested and that doesn't seem to work either.
De: twisted-python-admin at twistedmatrix.com [mailto:twisted-python-admin at twistedmatrix.com] Em nome de Tommi Virtanen
Enviada em: sexta-feira, 28 de novembro de 2003 12:13
Para: twisted-python at twistedmatrix.com
Assunto: Re: [Twisted-Python] Woven and nested database queries
Wenderson Teixeira wrote:
> I'm new to the list and I'm just starting with Twisted and Woven.
> I think the framework is great, but I'm having some problems.
> When I try to make two nested <div>, both with independent queries,
> I get na error, the solution I've found is to create another model
> called "loaddata", which does nothing, except call the queries.
> If anyone knows a better way, I'd like to hear, I've searched all
> over the Internet, and found nothing that could help.
Your problem is most likely Deferred models of which you need a
submodel. Woven is buggy.
> <div model="a">
> <div view="Text"/>
> <ul model="b" view="List">
> <li pattern="listItem" view="Text" />
Try <ul model="./b" view="List">, that should work.
More information about the Twisted-Python