mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
minor typo
This commit is contained in:
parent
d5e63d2d7f
commit
fcff16c5c6
|
@ -222,7 +222,7 @@ class SearchFilter(BaseFilterBackend):
|
||||||
# Filtering against a many-to-many field requires us to
|
# Filtering against a many-to-many field requires us to
|
||||||
# call queryset.distinct() in order to avoid duplicate items
|
# call queryset.distinct() in order to avoid duplicate items
|
||||||
# in the resulting queryset.
|
# 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)
|
queryset = distinct(queryset, base)
|
||||||
return queryset
|
return queryset
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user