Question from the Django test

How to filter Django objects on multiple conditions?

Waiting for validation

Quel est le rôle de Q | Q dans la requête suivante :

Entreprise.objects.filter(Q(business_name="Google") | Q(business_name="Facebook"))
Author: John PendenqueStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!