summaryrefslogtreecommitdiff
path: root/docs/faq.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-09-20 03:24:01 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-09-20 03:24:01 +0000
commit88a65ddd7fd88f5f48e998ad92e3949dd5ba15ec (patch)
treeea11d3537e21a35380406356d370946d2697b4fd /docs/faq.txt
parentaa865f360561a812dd673a5f27bfe29b0f6edfd6 (diff)
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
Diffstat (limited to 'docs/faq.txt')
-rw-r--r--docs/faq.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/faq.txt b/docs/faq.txt
index 26ec3141ce..712f7b26a8 100644
--- a/docs/faq.txt
+++ b/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?
-------------------------------------------------------------