implement a filter in all queries python django code example
Example: and in django query filter
Blog.objects.filter(entry__headline__contains='Lennon', entry__pub_date__year=2008)
Blog.objects.filter(entry__headline__contains='Lennon', entry__pub_date__year=2008)