def exclude ( self , * args , * * kwargs ) -> "QuerySet" : return self . _filter_or_exclude ( negate = True , * args , * * kwargs )
python filter not none
Same as . filter () but with appends all args with NOT
def exclude(self, *args, **kwargs) -> "QuerySet":
        """
        Same as .filter(), but with appends all args with NOT
        """
        return self._filter_or_exclude(negate=True, *args, **kwargs)