From 8be1a43093d12186d61ad8d1683509aaedcef2f9 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Mon, 4 Aug 2008 19:51:06 +0000 Subject: [PATCH] Fixed #7942 -- Added a note to the admin ordering option documentation about the admin only respecting the first element. Thanks mwdiers for the report and MattBowen for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8210 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/admin.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/admin.txt b/docs/admin.txt index d3c4d64846..82d85a6f5f 100644 --- a/docs/admin.txt +++ b/docs/admin.txt @@ -383,6 +383,11 @@ ordered. This should be a list or tuple in the same format as a model's If this isn't provided, the Django admin will use the model's default ordering. +.. admonition:: Note + + Django will only honor the first element in the list/tuple; any others + will be ignored. + ``prepopulated_fields`` ~~~~~~~~~~~~~~~~~~~~~~~