Easy
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 passed 129 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
What mechanism is used to protect against CSRF attacks in Django?1
What is the tool used for translating a Django application into different languages?2
What component of Django is used to handle incoming and outgoing requests?4
What is the basic directory structure of a Django project?3
How to create a form in Django?2
What Django feature is used to manage static and media files?6
What component of Django is used to define custom actions triggered by specific events?