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