class documentation
class SearchFilter(BaseFilterBackend): (source)
Undocumented
Method | construct |
Undocumented |
Method | filter |
Return a filtered queryset. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Search fields are obtained from the view, but the request is always passed to this method. Sub-classes can override this method to dynamically change the search fields based on request content. |
Method | get |
Search terms are set by a ?search=... query parameter, and may be comma and/or whitespace delimited. |
Method | must |
Return True if 'distinct()' should be used to query the given lookups. |
Method | to |
Undocumented |
Class Variable | lookup |
Undocumented |
Class Variable | search |
Undocumented |
Class Variable | search |
Undocumented |
Class Variable | template |
Undocumented |
Search fields are obtained from the view, but the request is always passed to this method. Sub-classes can override this method to dynamically change the search fields based on request content.
Search terms are set by a ?search=... query parameter, and may be comma and/or whitespace delimited.