Aaron Swartz wrote:
>> re: result = web.select('products', where='name="Standard"')
>>
>
> If you do:
>
> result = web.select('products', where='name="Standard"').list()
>
> you should get a list of dictionaries back.
>
> Are you sure your web.py script is talking to the right DB?
>
right db but .... Does having/passing 2 selects matter ?
accnts = web.select('accounts')
result = web.select('products', where='name="Standard"')
print render.mainpage(accnts,result)
result does not print out any attributes, if I print out $result I get
"web.utils.IterBetter instance at 0x833168c"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---