Ticket #7942: admin-ordering-7942.diff

File admin-ordering-7942.diff, 589 bytes (added by MattBowen, 16 years ago)

Added note that admin only respects the first element in a list.

  • docs/admin.txt

     
    372372
    373373Set ``ordering`` to specify how objects on the admin change list page should be
    374374ordered. This should be a list or tuple in the same format as a model's
    375 ``ordering`` parameter.
     375``ordering`` parameter. Django will only respect the first element of this
     376list; any others will be ignored in the ordering in the interface.
    376377
    377378If this isn't provided, the Django admin will use the model's default ordering.
    378379
Back to Top