比如查询name是li或者zhang的用户from django.db.models import Qusers = User.objects.filter(Q(name='li') | Q(name='zhang'))