We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82123d commit 0aee6b9Copy full SHA for 0aee6b9
docs/usage.md
@@ -123,9 +123,9 @@ query_regex = re.compile(r'^(sort|include)$|^(filter|fields|page)(\[[\w\.\-]+\])
123
For example:
124
```python
125
import re
126
-from rest_framework_json_api.filters import QueryValidationFilter
+from rest_framework_json_api.filters import QueryParameterValidationFilter
127
128
-class MyQPValidator(QueryValidationFilter):
+class MyQPValidator(QueryParameterValidationFilter):
129
query_regex = re.compile(r'^(sort|include|page|page_size)$|^(filter|fields|page)(\[[\w\.\-]+\])?$')
130
```
131
0 commit comments