Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ManyToManyField filter doesn't display question to FAQ

git-svn-id: http://code.djangoproject.com/svn/django/trunk@653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 88a65ddd7fd88f5f48e998ad92e3949dd5ba15ec 1 parent aa865f3
@adrianholovaty adrianholovaty authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 docs/faq.txt
View
10 docs/faq.txt
@@ -364,6 +364,16 @@ If you're sure your username and password are correct, make sure your user
account has ``is_active`` and ``is_staff`` set to True. The admin site only
allows access to users with those two fields both set to True.
+My "list_filter" contains a ManyToManyField, but the filter doesn't display.
+----------------------------------------------------------------------------
+
+Django won't bother displaying the filter for a ManyToManyField if there are
+fewer than two related objects.
+
+For example, if your ``list_filter`` includes ``sites``, and there's only one
+site in your database, it won't display a "Site" filter. In that case,
+filtering by site would be meaningless.
+
How can I customize the functionality of the admin interface?
-------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.