The Python Oracle

How to perform OR condition in django queryset?

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: Light Drops

--

Chapters
00:00 Question
00:34 Accepted answer (Score 763)
00:48 Answer 2 (Score 80)
01:38 Answer 3 (Score 28)
02:57 Answer 4 (Score 16)
03:34 Thank you

--

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

Accepted answer links:
[via Documentation]: https://docs.djangoproject.com/en/dev/to...

Answer 2 links:
[QuerySets implement]: https://docs.djangoproject.com/en/stable...
[Django 2.1 QuerySet API reference]: https://docs.djangoproject.com/en/2.1/re...
[DjangoProject ticket #21333]: https://code.djangoproject.com/ticket/21...

Answer 3 links:
[Django ORM Cookbook]: https://books.agiliq.com/projects/django...
[django-orm-cookbook]: https://books.agiliq.com/projects/django...

--

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

--

Tags
#python #sql #django #djangoqueryset #djangoorm

#avk47