How do I do a not equal in Django queryset filtering?

Описание к видео How do I do a not equal in Django queryset filtering?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Mysterious Puzzle

--

Chapters
00:00 Question
00:48 Accepted answer (Score 1025)
01:13 Answer 2 (Score 776)
01:52 Answer 3 (Score 163)
02:49 Answer 4 (Score 149)
03:41 Thank you

--

Full question
https://stackoverflow.com/questions/6...

Accepted answer links:
[Q objects]: https://docs.djangoproject.com/en/sta...

Answer 2 links:
[field lookup]: http://docs.djangoproject.com/en/stab...
[filter]: https://docs.djangoproject.com/en/sta...
[exclude]: https://docs.djangoproject.com/en/sta...

Answer 3 links:
[Django puts query operators on query fields in the identifiers]: http://docs.djangoproject.com/en/dev/...
[Dave Vogt suggests]: https://stackoverflow.com/questions/6...
[Jason Baker suggests]: https://stackoverflow.com/questions/6...

Answer 4 links:
[Chain ]: https://docs.djangoproject.com/en/sta...
[Q()]: https://docs.djangoproject.com/en/sta...
[~]: https://docs.djangoproject.com/en/sta...
[custom lookup function]: https://docs.djangoproject.com/en/sta...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/l...

--

Tags
#python #django #djangomodels #djangoqueryset

#avk47

Комментарии

Информация по комментариям в разработке