From 0ec54cb89eb40cb4852fc7fb8f4ebd042bb8df1e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 28 Feb 2013 15:52:01 +0530 Subject: [PATCH] data items --- oxdata/movie/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxdata/movie/views.py b/oxdata/movie/views.py index e409ca6..a461783 100644 --- a/oxdata/movie/views.py +++ b/oxdata/movie/views.py @@ -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)