django perform power on queryset example
Example 1: django filter exsist
if table.objects.filter(prop='value').count() > 0:
Example 2: django filter values with OR operator
Blog.objects.filter(pk__in=[1, 4, 7])
if table.objects.filter(prop='value').count() > 0:
Blog.objects.filter(pk__in=[1, 4, 7])