I want to gain and OR operation in my exclude statement.
Like:
Select all those records where name is NOT Mason and Status is NOT Unactive
OR
Select all those records where name is NOT Mason and Status is active
Tried.
Users.objects.exclude(name="Mason", active=False)
But this is not an OR operation but AND. How to get OR operation.