diff --git a/RIGS/views.py b/RIGS/views.py index c90e39b4..3646ab5a 100644 --- a/RIGS/views.py +++ b/RIGS/views.py @@ -214,7 +214,7 @@ class SecureAPIRequest(generic.View): 'label': o.name, } results.append(data) - json = simplejson.dumps(results) + json = simplejson.dumps(results[:20]) return HttpResponse(json, content_type="application/json") # Always json return HttpResponse(model) \ No newline at end of file