<human>:  How do I do a not equal in Django queryset filtering?
<bot>: Here is some code to filter model 'Entry' where 'id' is not equal to 3 in Django

Entry.objects.filter(~Q(id=3))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.