From c0d5521e69397a0f1d089d662d3b00dc5bdafa66 Mon Sep 17 00:00:00 2001 From: Moayad Mardini Date: Wed, 30 Apr 2014 13:43:36 -0400 Subject: [PATCH] [1.7.x] Fixed #22546 -- Removed idioms in tutorial 2. Thanks bjb at sourcerer.ca for the suggestion. Backport of 927245ccd8 from master --- docs/intro/tutorial02.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,