summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBrian Rosner <brosner@gmail.com>2008-08-04 19:51:06 +0000
committerBrian Rosner <brosner@gmail.com>2008-08-04 19:51:06 +0000
commit8be1a43093d12186d61ad8d1683509aaedcef2f9 (patch)
treea6336690a22cee2cbb94a3530996db434d0b1a6b /docs
parent40cd41095538cbd52609f49c43e5deabc4508a9f (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/admin.txt5
1 files changed, 5 insertions, 0 deletions
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``
~~~~~~~~~~~~~~~~~~~~~~~