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