Skip to content

Commit 66c931d

Browse files
authored
fix document error of setting filter backends (#340)
1 parent 8d84fb1 commit 66c931d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/filters.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ You can register it **by service** or **globally**:
178178
# settings.py
179179
GRPC_FRAMEWORK = {
180180
...
181-
"DEFAULT_FILTER_BACKENDS": [DjangoFilterBackend],
181+
"DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"],
182182
"FILTER_BEHAVIOR": FilterAndPaginationBehaviorOptions.METADATA_AND_REQUEST_STRUCT
183183
...
184184
}

0 commit comments

Comments
 (0)