From 60c48cc2ab7bb06363cd01229bdbc534a321a12c Mon Sep 17 00:00:00 2001 From: Sandeep Dcunha Date: Thu, 25 Aug 2016 17:30:41 -0400 Subject: [PATCH] Added comment of what to change to filter by category_name --- webclient/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/views.py b/webclient/views.py index fd13414..35d7e10 100644 --- a/webclient/views.py +++ b/webclient/views.py @@ -249,7 +249,7 @@ def getNewImage(request): ignore_max_count = True else: ignore_max_count = False - images = images.filter(count__lt=labelsPerImage) + images = images.filter(count__lt=labelsPerImage) #.filter(categoryType__category_name='orange') images = images.order_by('count').reverse()