  
  
  class SearchFilter(BaseFilterBackend):
      search_param = 'search'  # The URL query parameter used for the search.
      delimiter = None  # For example, set to ',' for comma delimited searchs.
  
      def construct_search(self, field_name):
          if field_name.startswith('^'):
              return "%s__istartswith" % field_name[1:]
          elif field_name.startswith('='):
 
</s> remove         search_terms = request.QUERY_PARAMS.get(self.search_param)
 </s> add  </s> remove         for search_term in search_terms.split(self.delimiter):
 </s> add         for search_term in self.get_search_terms(request):
    def get_search_terms(self, request):
        """
        Search terms are set by a ?search=... query parameter,
        and may be comma and/or whitespace delimited.
        """
        params = request.QUERY_PARAMS.get(self.search_param)
        return params.replace(',', ' ').split()
  
  
  class SearchFilter(BaseFilterBackend):
      search_param = 'search'  # The URL query parameter used for the search.
    def get_search_terms(self, request):
        """
        Search terms are set by a ?search=... query parameter,
        and may be comma and/or whitespace delimited.
        """
        params = request.QUERY_PARAMS.get(self.search_param)
        return params.replace(',', ' ').split()
  
      def construct_search(self, field_name):
          if field_name.startswith('^'):
              return "%s__istartswith" % field_name[1:]
          elif field_name.startswith('='):
keep keep keep keep replace keep keep keep keep keep
 SearchFilter may be comma and/or whitespace seperated 
rest_framework/filters.py