Django

Code

Changeset 653

Show
Ignore:
Timestamp:
09/19/05 22:24:01 (3 years ago)
Author:
adrian
Message:

Added ManyToManyField? filter doesn't display question to FAQ

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/faq.txt

    r652 r653  
    365365allows access to users with those two fields both set to True. 
    366366 
     367My "list_filter" contains a ManyToManyField, but the filter doesn't display. 
     368---------------------------------------------------------------------------- 
     369 
     370Django won't bother displaying the filter for a ManyToManyField if there are 
     371fewer than two related objects. 
     372 
     373For example, if your ``list_filter`` includes ``sites``, and there's only one 
     374site in your database, it won't display a "Site" filter. In that case, 
     375filtering by site would be meaningless. 
     376 
    367377How can I customize the functionality of the admin interface? 
    368378-------------------------------------------------------------