Skip to content

Commit

Permalink
Added comment of what to change to filter by category_name
Browse files Browse the repository at this point in the history
  • Loading branch information
dcunhas committed Aug 25, 2016
1 parent 112f244 commit 60c48cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webclient/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 60c48cc

Please sign in to comment.