From 8571bc465a1e474b2025d1f1b5521f3c065eca1f Mon Sep 17 00:00:00 2001 From: Semyon Pupkov Date: Sun, 1 Nov 2020 23:16:15 +0500 Subject: [PATCH] Improve ordering doc example (#1053) --- docs/filtering.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/filtering.rst b/docs/filtering.rst index dbbab9d..e366fe2 100644 --- a/docs/filtering.rst +++ b/docs/filtering.rst @@ -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'), ) )