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