Skip to content

Commit f9cf237

Browse files
authored
Merge pull request encode#4590 from zwernberg/patch-1
Fixed minor sentence in Filter.py filter_queryset() Comment
2 parents d5e63d2 + fcff16c commit f9cf237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def filter_queryset(self, request, queryset, view):
222222
# Filtering against a many-to-many field requires us to
223223
# call queryset.distinct() in order to avoid duplicate items
224224
# in the resulting queryset.
225-
# We try to avoid this is possible, for performance reasons.
225+
# We try to avoid this if possible, for performance reasons.
226226
queryset = distinct(queryset, base)
227227
return queryset
228228

0 commit comments

Comments
 (0)