On 20 Jul 2014, at 21:15, Michael taomaili...@gmail.com wrote:
hi all, how do I properly create a param with route_url ? when I do
return HTTPFound(location=request.route_url('user_recent',
username=auth.username, page='1'), headers=headers)
Use the _query parameter for route_url:
This works, thanks. FYI I need the username to stay in the matchdict, so my
final line looks like:
return HTTPFound(location=request.route_url('user_recent',
username=auth.username, _query={'page':'1'}), headers=headers)
On Sunday, July 20, 2014 3:31:48 PM UTC-4, Wichert Akkerman