2012/2/4 Szymon Stanisławowicz <ssb.pjw...@gmail.com>: > Hi, just started with python & web.py. > > d = web.input(uids=[]) > print d > print web.data(); > > <Storage {'utype': u's_pupil', 'uids[]': u'22390', 'uids': [], > 'recur': u'false'}> > > recur=false&utype=s_pupil&uids%5B%5D=10758&uids%5B%5D=22390 > > according to http://webpy.org/cookbook/input I expected something > different... > I want array of uids. Tried 0.34 from debian and 0.36 from homepage.
You should pass uids=10758&uids=22390 in the query string. Not uids[]=.... Anand -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.