I have a query and i want to exclude null companies as well as specific user email.
Demo.objects.all().exclude(company__isnull=True, email="abc@gmail.com")
but seems like above exclude does not work with multiple arguments, my return queryset has email="abc@gmail.com" in it.
If i try above query with single arguments, it works. but not working with multiple arguments. Anyone has any idea how to pass multiple arguments in django exclude ?
Thanks