diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py
index df0fd9f..b2ba2ed 100644
a
|
b
|
class ChangeList(object):
|
138 | 138 | # manually-specified ordering from the query string. |
139 | 139 | ordering = self.model_admin.ordering or lookup_opts.ordering or ['-' + lookup_opts.pk.name] |
140 | 140 | |
141 | | if ordering[0].startswith('-'): |
| 141 | if len(ordering) > 1: |
| 142 | order_field, order_type = '', '' |
| 143 | elif ordering[0].startswith('-'): |
142 | 144 | order_field, order_type = ordering[0][1:], 'desc' |
143 | 145 | else: |
144 | 146 | order_field, order_type = ordering[0], 'asc' |
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index cacadfd..2511033 100644
a
|
b
|
ordered. This should be a list or tuple in the same format as a model's
|
498 | 498 | |
499 | 499 | If this isn't provided, the Django admin will use the model's default ordering. |
500 | 500 | |
501 | | .. admonition:: Note |
502 | | |
503 | | Django will only honor the first element in the list/tuple; any others |
504 | | will be ignored. |
505 | | |
506 | 501 | .. attribute:: ModelAdmin.prepopulated_fields |
507 | 502 | |
508 | 503 | Set ``prepopulated_fields`` to a dictionary mapping field names to the fields |