Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #11748 -- Clarified the ways that search_field can be used. Tha…

…nks to Michael Richardson for the patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1a9e0f70ea82efe8cda5e96eb1351cc60419d8d6 1 parent 2dc2ed8
Russell Keith-Magee authored August 07, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/contrib/admin/index.txt
4  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
594 594
 somebody submits a search query in that text box.
595 595
596 596
 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::
599 599
600 600
     search_fields = ['foreign_key__related_fieldname']
601 601

0 notes on commit 1a9e0f7

Please sign in to comment.
Something went wrong with that request. Please try again.