mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #21924 -- Added the ability to specify a reverse order for admin_order_field.
Thanks Klemens Mantzos for the report and initial patch.
This commit is contained in:
committed by
Tim Graham
parent
0242134d32
commit
f683cb90be
@@ -292,6 +292,10 @@ Minor features
|
||||
<django.contrib.admin.ModelAdmin.view_on_site>` to control whether or not to
|
||||
display the "View on site" link.
|
||||
|
||||
* You can specify a descending ordering for a :attr:`ModelAdmin.list_display
|
||||
<django.contrib.admin.ModelAdmin.list_display>` value by prefixing the
|
||||
``admin_order_field`` value with a hyphen.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user