mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
add how to use unaccent in filter search in docs
This commit is contained in:
parent
50dd07db4a
commit
dff5563da5
|
@ -226,6 +226,7 @@ The search behavior may be restricted by prepending various characters to the `s
|
||||||
* '=' Exact matches.
|
* '=' Exact matches.
|
||||||
* '@' Full-text search. (Currently only supported Django's [PostgreSQL backend](https://docs.djangoproject.com/en/dev/ref/contrib/postgres/search/).)
|
* '@' Full-text search. (Currently only supported Django's [PostgreSQL backend](https://docs.djangoproject.com/en/dev/ref/contrib/postgres/search/).)
|
||||||
* '$' Regex search.
|
* '$' Regex search.
|
||||||
|
* '&' Accent-insensitive search. (Currently only supported Django's [PostgreSQL backend](https://docs.djangoproject.com/en/dev/ref/contrib/postgres/lookups/#unaccent).)
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user