Use anand's unflatten<http://github.com/openlibrary/openlibrary/blob/master/openlibrary/plugins/upstream/utils.py#L115>(updated link) like so:
>>> inp = unflatten({'data--1--age': 18, 'data--1--name': 'John Doe',
'data--2--age': 22, 'data--2--name': 'Jane Doe'})
>>> inp.data[0].age
18
>>> inp.data[1].name
'John Doe'
On Fri, Jan 15, 2010 at 4:11 PM, Pablo Antonio <[email protected]> wrote:
> On Wed, Jan 13, 2010 at 10:55:42AM +0100, Branko Vukelic wrote:
> > And also take a look at:
> >
> > http://webpy.org/cookbook/input
> >
>
> I know how web.input works. What part of that page is relevant to my
> problem?
>
> Thanks,
>
> --
> Pablo Antonio (AKA crazy2k)
> http://www.pablo-a.com.ar/
>
> --
> 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] <webpy%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>
>
>
--
Angelo Gladding
[email protected]
http://angelo.gladding.name/
-- 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.
