data items

This commit is contained in:
j 2013-02-28 15:52:01 +05:30
parent d712ff043f
commit 0ec54cb89e

View file

@ -25,7 +25,7 @@ actions.register(getId)
def getIds(request):
data = json.loads(request.POST['data'])
response = json_response()
response['items'] = models.Match.find(data)
response['data']['items'] = models.Match.find(data)
return render_to_json_response(response)
actions.register(getIds)