1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #25790 -- Allowed disable column sorting in the admin changelist.

Thanks Ramiro Morales for completing the patch.
This commit is contained in:
Alexander Gaevsky
2016-02-09 02:35:03 +02:00
committed by Tim Graham
parent 7d96f0c49a
commit ef2512b2ff
8 changed files with 129 additions and 8 deletions

View File

@@ -43,6 +43,10 @@ Minor features
* You can now :ref:`override the the default admin site
<overriding-default-admin-site>`.
* The new :attr:`.ModelAdmin.sortable_by` attribute and
:meth:`.ModelAdmin.get_sortable_by` method allow limiting the columns that
can be sorted in the change list page.
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~