Skip to content

Commit 132a4f9

Browse files
authored
SearchFilter with unaccent
based on #7733
1 parent c0d95cb commit 132a4f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest_framework/filters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class SearchFilter(BaseFilterBackend):
4545
'=': 'iexact',
4646
'@': 'search',
4747
'$': 'iregex',
48+
'&': 'unaccent',
4849
}
4950
search_title = _('Search')
5051
search_description = _('A search term.')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy