Medium
Question: What is the role of Q | Q
in the following query:
Entreprise.objects.filter(Q(business_name="Google") | Q(business_name="Facebook"))
Author: John PendenqueStatus: PublishedQuestion not yet passed
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Django
2
What component of Django is used to define custom actions triggered by specific events?2
What is the basic directory structure of a Django project?1
How to create a form in Django?1
What mechanism is used to protect against CSRF attacks in Django?1
What is the purpose of the @login_required decorator in Django?