django faceted filter tutorial code example Example: django filter exsist if table.objects.filter(prop='value').count() > 0: