exclude a model in django filter like code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)