diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-09-14 08:29:51 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-09-14 08:29:51 +0000 |
| commit | bc216120126be2e792b1e9cf215a4f62b1dfc07c (patch) | |
| tree | f354d4aa84323e34c2ef9e4cfa79fdb426f29812 /docs | |
| parent | 518bc15b218d1fc971757b6d72decc2576cd9b53 (diff) | |
Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 44488ae1d8..27207aab6f 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1550,8 +1550,8 @@ Finally, note that in order to use ``list_display_links``, you must define Set ``list_filter`` to activate filters in the right sidebar of the change list page of the admin. This should be a list of field names, and each specified -field should be either a ``BooleanField``, ``DateField``, ``DateTimeField`` -or ``ForeignKey``. +field should be either a ``BooleanField``, ``CharField``, ``DateField``, +``DateTimeField``, ``IntegerField`` or ``ForeignKey``. This example, taken from the ``django.contrib.auth.models.User`` model, shows how both ``list_display`` and ``list_filter`` work:: |
