Tony Mack | 050ca93 | 2013-04-08 15:08:02 -0400 | [diff] [blame] | 1 | import ast |
Tony Mack | be12a20 | 2013-04-08 15:07:20 -0400 | [diff] [blame] | 2 | |
3 | def parse_request(request): | ||||
4 | d = {} | ||||
5 | for (k,v) in request.items(): | ||||
Tony Mack | 050ca93 | 2013-04-08 15:08:02 -0400 | [diff] [blame] | 6 | d[k] = ast.literal_eval(v) |
Tony Mack | 1e09659 | 2013-04-08 15:11:38 -0400 | [diff] [blame] | 7 | return d |