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
This commit is contained in:
Brian Rosner 2008-08-04 19:51:06 +00:00
parent 40cd410955
commit 8be1a43093
1 changed files with 5 additions and 0 deletions

View File

@ -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``
~~~~~~~~~~~~~~~~~~~~~~~