1
0
mirror of https://github.com/django/django.git synced 2025-04-18 06:14:37 +00:00

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

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

@ -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