Author: russellm Date: 2007-09-14 03:29:51 -0500 (Fri, 14 Sep 2007) New Revision: 6179
Modified: django/trunk/docs/model-api.txt Log: Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon. Modified: django/trunk/docs/model-api.txt =================================================================== --- django/trunk/docs/model-api.txt 2007-09-14 08:04:07 UTC (rev 6178) +++ django/trunk/docs/model-api.txt 2007-09-14 08:29:51 UTC (rev 6179) @@ -1550,8 +1550,8 @@ 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:: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
