how to return only a part object in filter method in django code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)