Commit 8be1a430 authored by Brian Rosner's avatar Brian Rosner
Browse files

Fixed #7942 -- Added a note to the admin ordering option documentation about...

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
parent 40cd4109
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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``
~~~~~~~~~~~~~~~~~~~~~~~