Legacy parameter order

This commit is contained in:
Neamar 2013-05-20 10:48:07 +03:00
parent 42a8fe8995
commit 4c85829cb7

View File

@ -216,7 +216,7 @@ For more details, see the [Django documentation][search-django-admin].
## OrderingFilter ## OrderingFilter
The `OrderingFilter` class supports simple query parameter controlled ordering of results. To specify the result order, set a query parameter named `'order'` to the required field name. For example: The `OrderingFilter` class supports simple query parameter controlled ordering of results. To specify the result order, set a query parameter named `'ordering'` to the required field name. For example:
http://example.com/api/users?ordering=username http://example.com/api/users?ordering=username