diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-17 05:53:34 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-17 05:53:34 +0000 |
| commit | 069bd054fd4413a47f2f9ace620b01cbfa33ecba (patch) | |
| tree | 99d2bea96ff5bb96c7646ef55fe345778d162498 /docs/tutorial02.txt | |
| parent | 081f2f8c8d0a8902f04dfcca3a83cd7eb7779bff (diff) | |
Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial02.txt')
| -rw-r--r-- | docs/tutorial02.txt | 4 |
1 files 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', ) |
