summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-06-02 16:18:47 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-06-02 16:18:47 +0000
commit5434ce231d75004bdbe5cf2b7b24ce67a2a6e737 (patch)
tree3e4943eff23623b97fb7423e119c4733eace8aaa /docs/ref
parent78b37975c9d9f331b9ea9fa609d0596ae30ab6b4 (diff)
Fixed #11868 - Multiple sort in admin changelist.
Many thanks to bendavis78 for the initial patch, and for input from others. Also fixed #7309. If people were relying on the undocumented default ordering applied by the admin before, they will need to add 'ordering = ["-pk"]' to their ModelAdmin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index e5aecb4622..3ba3b1b0eb 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -696,10 +696,10 @@ subclass::
If this isn't provided, the Django admin will use the model's default
ordering.
- .. admonition:: Note
+ .. versionchanged:: 1.4
- Django will only honor the first element in the list/tuple; any others
- will be ignored.
+ Django honors all elements in the list/tuple; before 1.4, only the first
+ was respected.
.. attribute:: ModelAdmin.paginator