diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-15 11:38:53 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-15 11:38:53 +0000 |
| commit | d9a3c1b9fcab47d233fee4c86bfd68fa9ce25f22 (patch) | |
| tree | 96a9b05aecee2d1b180c23281148c0c985b3f3c2 /tests | |
| parent | 87ca6ae4cc20de1cc01fb5e159b0763604e61162 (diff) | |
Made a bunch of tiny documentation formatting and typo fixes.
Thanks, quicklizard, adamv, Gary Wilson, superjudge and David Pretty.
Fixed #6554, #6573 ,#6592, #6595, #6608.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/ordering/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/ordering/models.py b/tests/modeltests/ordering/models.py index 3e651d4ee7..9b342a9265 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. |
