Snippets tagged “queryset”
1 snippet uses this tag.
- How do I do a not equal in Django queryset filtering?Python
You can use the exclude() method to filter out records where a certain field is not equal to a certain value.
1 snippet uses this tag.
You can use the exclude() method to filter out records where a certain field is not equal to a certain value.