more plural cleanup

This commit is contained in:
j 2011-01-04 12:20:52 +05:30
commit 5916e26203
3 changed files with 9 additions and 6 deletions

View file

@ -200,6 +200,7 @@ Positions
r[p] = m.get(p, '')
return r
qs = qs[query['range'][0]:query['range'][1]]
#response['data']['items'] = [only_p(m.get_json()) for m in qs]
response['data']['items'] = [only_p(m['json']) for m in qs.values('json')]
else: # otherwise stats
items = query['qs']