Update filters.py

Fixed cut n pasted get_ordering docstring for ya bro.
This commit is contained in:
Chad Barrington 2013-08-14 16:01:25 -05:00
parent 486f4c8047
commit 99083baf25

View File

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