Ticket #11748: 11748.1.diff

File 11748.1.diff, 675 bytes (added by mtrichardson, 15 years ago)
  • docs/ref/contrib/admin/index.txt

     
    565565somebody submits a search query in that text box.
    566566
    567567These fields should be some kind of text field, such as ``CharField`` or
    568 ``TextField``. You can also perform a related lookup on a ``ForeignKey`` with
    569 the lookup API "follow" notation::
     568``TextField``. You can also perform a related lookup on a ``ForeignKey`` or
     569``ManyToManyField`` with the lookup API "follow" notation::
    570570
    571571    search_fields = ['foreign_key__related_fieldname']
    572572
Back to Top