mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
SearchFilter with unaccent
based on https://github.com/encode/django-rest-framework/pull/7733
This commit is contained in:
parent
c0d95cb967
commit
132a4f962d
|
@ -45,6 +45,7 @@ class SearchFilter(BaseFilterBackend):
|
|||
'=': 'iexact',
|
||||
'@': 'search',
|
||||
'$': 'iregex',
|
||||
'&': 'unaccent',
|
||||
}
|
||||
search_title = _('Search')
|
||||
search_description = _('A search term.')
|
||||
|
|
Loading…
Reference in New Issue
Block a user