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