          fields = '__all__'
  
  
  class SearchFilterTests(TestCase):
      def setUp(self):
          # Sequence of title/text is:
          #
          # z   abc
          # zz  bcd
          # zzz cde
 
</s> remove         and may be comma and/or whitespace delimited.
 </s> add         and may be whitespace delimited. </s> remove from django.core.exceptions import ImproperlyConfigured
 </s> add from django.core.exceptions import FieldDoesNotExist, ImproperlyConfigured
    @classmethod
    def setUpTestData(cls):
          fields = '__all__'
  
  
  class SearchFilterTests(TestCase):
    @classmethod
    def setUpTestData(cls):
          # Sequence of title/text is:
          #
          # z   abc
          # zz  bcd
          # zzz cde
keep keep keep keep replace keep keep keep keep keep
 Align SearchFilter behaviour to django.contrib.admin search (#9017)

* Use subquery to remove duplicates in SearchFilter

* Align SearchFilter behaviour to django.contrib.admin

* Add compatibility with older django/python versions

* Allow search to split also by comma after smart split

* Use generator to build search conditions to reduce iterations

* Improve search documentation

* Update docs/api-guide/filtering.md

---------

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> 
tests/test_filters.py