> Is there a way to construct URLs like """/controller/action/id?
> q=1&q=2""" with url_for()?
I don't think so. If there's demand for this we can turn a list of
values into multiple parameters. Does MultiDict offer anything that
would help with this?
--
Mike Orr <slugg...@gmail.com>
I'm not 100% clear on what you want to do, but probably {'q': ['1',
'2']} will get this for you. You can get a dictionary like this from a
MultiDict with req.POST.mixed().
--
Ian Bicking : ia...@colorstudy.com : http://blog.ianbicking.org
Added to the Routes 2 spec for consideration. (No promises yet.)
http://wiki.pylonshq.com/display/routes/Routes+2+Spec
Ben might implement it in Routes 1; I don't deal with that. You can
increase the chances of getting it done by filing a bug report at
routes.groovie.org.
On second thought, I don't think MultiDict will help because these are
keyword args passed by the user, so they'll come in an ordinary dict.
--
Mike Orr <slugg...@gmail.com>
Correct, but **request.POST.mixed() should work okay.