Commit f9cf237e by Xavier Ordoquy Committed by GitHub

Merge pull request #4590 from zwernberg/patch-1

Fixed minor sentence in Filter.py filter_queryset() Comment
parents d5e63d2d fcff16c5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment