summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-08-07 15:00:03 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-08-07 15:00:03 +0000
commit0fda7c8a2bf1c21bcd9b971d9843af1f52ca14c8 (patch)
tree2461ac60c99be36365c4944a4b019322ac18ab61 /docs
parent7c05d23af162ba0481d2abb28022fd43a2e0bd4a (diff)
[1.2.X] Fixed #11748 -- Clarified the ways that search_field can be used. Thanks to Michael Richardson for the patch.
Backport of r13550 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 9a4a12af87..a59d168066 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -594,8 +594,8 @@ This should be set to a list of field names that will be searched whenever
somebody submits a search query in that text box.
These fields should be some kind of text field, such as ``CharField`` or
-``TextField``. You can also perform a related lookup on a ``ForeignKey`` with
-the lookup API "follow" notation::
+``TextField``. You can also perform a related lookup on a ``ForeignKey`` or
+``ManyToManyField`` with the lookup API "follow" notation::
search_fields = ['foreign_key__related_fieldname']