how to get an instance of a class with a queryset object in django code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)