from django.db.models import Q
criterion1 = Q(question__contains='software')
criterion2 = Q(question__contains='java')
q = Question.objects.filter(criterion1 & criterion2)
How do I use AND in a Django filter?