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:01:35 -0400 |
| commit | 927245ccd8de111338d72d8f5e9172f33a991826 (patch) | |
| tree | 77b0dee40c99eca5cdb1d3bcda1a0ac7a9ed9dae /docs/intro/tutorial02.txt | |
| parent | 8f6dff372b174e772920de6d82bd085f1a74eaf2 (diff) | |
Fixed #22546 -- Removed idioms in tutorial 2.
Thanks bjb at sourcerer.ca for the suggestion.
Diffstat (limited to 'docs/intro/tutorial02.txt')
| -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 11c0bece6b..d3b7cbfd74 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -419,7 +419,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_text`` 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, |
