We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df5098 commit f4194c4Copy full SHA for f4194c4
rest_framework/filters.py
@@ -21,9 +21,7 @@
21
22
23
def search_smart_split(search_terms):
24
- """generator that first splits string by spaces, leaving quoted phrases together,
25
- then it splits non-quoted phrases by commas.
26
- """
+ """Returns sanitized search terms as a list."""
27
split_terms = []
28
for term in smart_split(search_terms):
29
# trim commas to avoid bad matching for quoted phrases
0 commit comments