Ticket #3346: search_fields_doc.diff
File search_fields_doc.diff, 671 bytes (added by , 18 years ago) |
---|
-
docs/model-api.txt
1408 1408 somebody submits a search query in that text box. 1409 1409 1410 1410 These fields should be some kind of text field, such as ``CharField`` or 1411 ``TextField``. 1411 ``TextField``. You can also preform a related lookup on a ``ForeignKey`` with 1412 the lookup api "follow" notation:: 1413 1414 search_fields = ['foreign_key__related_feildname'] 1412 1415 1413 1416 When somebody does a search in the admin search box, Django splits the search 1414 1417 query into words and returns all objects that contain each of the words, case