mirror of https://github.com/django/django.git
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:
parent
40cd410955
commit
8be1a43093
|
@ -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``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue