Improve ordering doc example (#1053)

This commit is contained in:
Semyon Pupkov 2020-11-01 23:16:15 +05:00 committed by GitHub
parent 2140be5e6a
commit 8571bc465a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ Extend the tuple of fields if you want to order by more than one field.
order_by = OrderingFilter(
fields=(
('created_at', 'created_at'),
('name', 'created_at'),
)
)