diff options
| author | Moayad Mardini <moayad.m@gmail.com> | 2014-04-30 13:43:36 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-30 18:02:06 -0400 |
| commit | 2a0f942cbd779e351100086a6183f648b1e4aa14 (patch) | |
| tree | 5e28251da988e28d7dccd2586e4dc268dde13504 /docs | |
| parent | f6e9127483fe09601ed176d0e56bb77bd5cf9b8c (diff) | |
[1.6.x] Fixed #22546 -- Removed idioms in tutorial 2.
Thanks bjb at sourcerer.ca for the suggestion.
Backport of 927245ccd8 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial02.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index dfae2120b9..6e6423cf55 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -383,7 +383,8 @@ This is shaping up well. Let's add some search capability:: That adds a search box at the top of the change list. When somebody enters search terms, Django will search the ``question`` field. You can use as many fields as you'd like -- although because it uses a ``LIKE`` query behind the -scenes, keep it reasonable, to keep your database happy. +scenes, limiting the number of search fields to a reasonable number will make +it easier for your database to do the search. Now's also a good time to note that change lists give you free pagination. The default is to display 100 items per page. Change-list pagination, search boxes, |
