mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Update filters.py
Fixed cut n pasted get_ordering docstring for ya bro.
This commit is contained in:
parent
486f4c8047
commit
99083baf25
|
@ -109,8 +109,7 @@ class OrderingFilter(BaseFilterBackend):
|
|||
|
||||
def get_ordering(self, request):
|
||||
"""
|
||||
Search terms are set by a ?search=... query parameter,
|
||||
and may be comma and/or whitespace delimited.
|
||||
Ordering is set by a comma delimited ?ordering=... query parameter.
|
||||
"""
|
||||
params = request.QUERY_PARAMS.get(self.ordering_param)
|
||||
if params:
|
||||
|
|
Loading…
Reference in New Issue
Block a user