1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.7.x] Fixed #23588 -- Added a link in tutorial for list_display options.

Backport of 3a550bb6d3 from master
This commit is contained in:
Tim Graham
2014-11-13 18:16:20 +01:00
parent cf5e2c46f2
commit b050dc46a9

View File

@@ -425,6 +425,9 @@ attributes, as follows:
was_published_recently.boolean = True
was_published_recently.short_description = 'Published recently?'
For more information on these method properties, see
:attr:`~django.contrib.admin.ModelAdmin.list_display`.
Edit your :file:`polls/admin.py` file again and add an improvement to the
``Question`` change list page: filters using the
:attr:`~django.contrib.admin.ModelAdmin.list_filter`. Add the following line to