How-to articles, tricks, and solutions about DJANGO-QUERYSET
How do I do a not equal in Django queryset filtering?
You can use the exclude() method to filter out records where a certain field is not equal to a certain value.