Try the code given below: from django.db.models import Q. User.objects.filter(Q(income__gte=5000)|Q(income__isnull=True)).
確定! 回上一頁