objects.get(pk=pk) 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)