Merge pull request #4590 from zwernberg/patch-1

Fixed minor sentence in Filter.py filter_queryset() Comment
This commit is contained in:
Xavier Ordoquy 2016-10-19 09:01:42 +02:00 committed by GitHub
commit f9cf237e0b

View File

@ -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