mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 21:24:33 +03:00
Merge pull request #4590 from zwernberg/patch-1
Fixed minor sentence in Filter.py filter_queryset() Comment
This commit is contained in:
commit
f9cf237e0b
|
@ -222,7 +222,7 @@ class SearchFilter(BaseFilterBackend):
|
|||
# Filtering against a many-to-many field requires us to
|
||||
# call queryset.distinct() in order to avoid duplicate items
|
||||
# in the resulting queryset.
|
||||
# We try to avoid this is possible, for performance reasons.
|
||||
# We try to avoid this if possible, for performance reasons.
|
||||
queryset = distinct(queryset, base)
|
||||
return queryset
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user