From bdeec1d2aeb74d52cae8e1f9a334eefb5199f07e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 25 Jul 2016 06:21:39 -0400 Subject: [1.9.x] Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs. Backport of 3aaf6cf0f3288986c4ce56defea26420f8a48534 from master --- docs/ref/models/options.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index 8b77c7101d..3650d20b0a 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -258,6 +258,9 @@ Django quotes column and table names behind the scenes. ordering = ['-pub_date', 'author'] + Default ordering also affects :ref:`aggregation queries + `. + .. warning:: Ordering is not a free operation. Each field you add to the ordering -- cgit v1.3