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

Fixed #27810 -- Allowed query expressions in admin_order_field.

This commit is contained in:
Andreas Pelme
2018-02-16 03:00:31 +01:00
committed by Tim Graham
parent d368784bac
commit e307ff29d2
5 changed files with 59 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ Minor features
:meth:`.ModelAdmin.get_sortable_by` method allow limiting the columns that
can be sorted in the change list page.
* The ``admin_order_field`` attribute for elements in
:attr:`.ModelAdmin.list_display` may now be a query expression.
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~