def METHOD_NAME(self, qs, value):
    if value in django_filters.constants.EMPTY_VALUES:
        return qs
    if value == "null":
        return self.get_method(qs)(
            Q(**{f"{self.field_name}__exact": None}) | Q(**{f"{self.field_name}__isnull": True})
        )
    # Custom fields require special handling for exclude filtering.
    # Return custom fields that don't match the value and null custom fields
    if self.exclude:
        qs_null_custom_fields = qs.METHOD_NAME(**{f"{self.field_name}__isnull": True}).distinct()
        return super().METHOD_NAME(qs, value).distinct() | qs_null_custom_fields
    return super().METHOD_NAME(qs, value)