summaryrefslogtreecommitdiff
path: root/tests/modeltests/ordering/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/ordering/models.py')
-rw-r--r--tests/modeltests/ordering/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/ordering/models.py b/tests/modeltests/ordering/models.py
index d3eb7f0dc0..5f1c3c3b81 100644
--- a/tests/modeltests/ordering/models.py
+++ b/tests/modeltests/ordering/models.py
@@ -2,8 +2,8 @@
6. Specifying ordering
Specify default ordering for a model using the ``ordering`` attribute, which
-should be a list or tuple of field names. This tells Django how to order the
-results of ``get_list()`` and other similar functions.
+should be a list or tuple of field names. This tells Django how to order
+queryset results.
If a field name in ``ordering`` starts with a hyphen, that field will be
ordered in descending order. Otherwise, it'll be ordered in ascending order.