From 5d60d2b4576429d7057fe9e64f4107033581b627 Mon Sep 17 00:00:00 2001 From: risicle Date: Tue, 28 Jul 2015 15:09:43 +0100 Subject: [PATCH] Adjusted SQLCompiler.get_order_by()'s docstring return value. --- django/db/models/sql/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index b31ab8d875..f27cd87d5f 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -230,7 +230,7 @@ class SQLCompiler(object): def get_order_by(self): """ - Returns a list of 2-tuples of form (expr, (sql, params)) for the + Returns a list of 2-tuples of form (expr, (sql, params, is_ref)) for the ORDER BY clause. The order_by clause can alter the select clause (for example it