Filter model 'Entry' where 'id' is not equal to 3 in Django,Entry.objects.filter(~Q(id=3))