From 069bd054fd4413a47f2f9ace620b01cbfa33ecba Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 17 Jul 2005 05:53:34 +0000 Subject: [PATCH] Fixed small formatting errors in [139] git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/tutorial02.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial02.txt b/docs/tutorial02.txt index 26c40ccefe..eb2ae052e3 100644 --- a/docs/tutorial02.txt +++ b/docs/tutorial02.txt @@ -394,7 +394,7 @@ change that by giving that method a ``short_description`` attribute:: Let's add another improvement to the Poll change list page: Filters. Add the -following line to ``Poll.admin``: +following line to ``Poll.admin``:: list_filter = ('pub_date', ) @@ -411,7 +411,7 @@ filter options for DateTimeFields: "Any date," "Today," "Past 7 days," "This month," "This year." Explore using ``list_filter`` on other types of fields. -This is shaping up well. Finally, let's add some search capability: +This is shaping up well. Finally, let's add some search capability:: search_fields = ('question', )