The library provide some useful tooling for creating dataclasses for validating schema when querying, ordering or searching.
Create a dataclass with search_fields class attribute and search field. The search field is a set of field which can be used for searching and it is used internally by the library, while the search field is the query string passed in the url.
searchable_fields – fields which can be used for searching
- Return type