mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-03 00:34:24 +03:00
fix quote was outside of inline code (#6830)
This commit is contained in:
parent
da1c6d4129
commit
ea2ebf61cb
|
@ -219,7 +219,7 @@ For example:
|
|||
|
||||
search_fields = ['=username', '=email']
|
||||
|
||||
By default, the search parameter is named `'search`', but this may be overridden with the `SEARCH_PARAM` setting.
|
||||
By default, the search parameter is named `'search'`, but this may be overridden with the `SEARCH_PARAM` setting.
|
||||
|
||||
To dynamically change search fields based on request content, it's possible to subclass the `SearchFilter` and override the `get_search_fields()` function. For example, the following subclass will only search on `title` if the query parameter `title_only` is in the request:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user