I want to write a Django query equivalent to this SQL query:
SELECT * from user where income >= 5000 or income is NULL.
How to construct
from django.db.models import Q User.objects.filter(Q(income__gte=5000) | Q(income__isnull=True))
via Documentation