data items
This commit is contained in:
parent
d712ff043f
commit
0ec54cb89e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ actions.register(getId)
|
||||||
def getIds(request):
|
def getIds(request):
|
||||||
data = json.loads(request.POST['data'])
|
data = json.loads(request.POST['data'])
|
||||||
response = json_response()
|
response = json_response()
|
||||||
response['items'] = models.Match.find(data)
|
response['data']['items'] = models.Match.find(data)
|
||||||
return render_to_json_response(response)
|
return render_to_json_response(response)
|
||||||
actions.register(getIds)
|
actions.register(getIds)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue