Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #7942 -- Added a note to the admin ordering option documentatio…

…n 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
  • Loading branch information...
commit 8be1a43093d12186d61ad8d1683509aaedcef2f9 1 parent 40cd410
Brian Rosner authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  docs/admin.txt
5  docs/admin.txt
@@ -383,6 +383,11 @@ ordered. This should be a list or tuple in the same format as a model's
383 383
 
384 384
 If this isn't provided, the Django admin will use the model's default ordering.
385 385
 
  386
+.. admonition:: Note
  387
+
  388
+    Django will only honor the first element in the list/tuple; any others
  389
+    will be ignored.
  390
+
386 391
 ``prepopulated_fields``
387 392
 ~~~~~~~~~~~~~~~~~~~~~~~
388 393
 

0 notes on commit 8be1a43

Please sign in to comment.
Something went wrong with that request. Please try again.