Django

Code

Changeset 6179

Show
Ignore:
Timestamp:
09/14/07 03:29:51 (1 year ago)
Author:
russellm
Message:

Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r6109 r6179  
    15511551Set ``list_filter`` to activate filters in the right sidebar of the change list 
    15521552page of the admin. This should be a list of field names, and each specified 
    1553 field should be either a ``BooleanField``, ``DateField``, ``DateTimeField`` 
    1554 or ``ForeignKey``. 
     1553field should be either a ``BooleanField``, ``CharField``, ``DateField``,  
     1554``DateTimeField``, ``IntegerField`` or ``ForeignKey``.  
    15551555 
    15561556This example, taken from the ``django.contrib.auth.models.User`` model, shows