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 the Django queryset filter?
This doesn't work, because it ANDs the filters. I want to OR the filters to get union of individual querysets.