Hello. How to get a dict or a list of dicts in request.params from this form
data?

<input type="hidden" name="category[1][name]" value="name1" />
<input type="hidden" name="category[2][name]" value="name2" />

So I need to get something like this:
[{'name' : 'name1'}, {'name' : 'name2'}]

But at the momentt I just get:
[('category[1][name]', 'name1'), ('category[2][name]', 'name2')]

Thanks.

-- 
http://perceivingreality.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to