mirror of https://github.com/django/django.git
Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
081f2f8c8d
commit
069bd054fd
|
@ -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
|
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', )
|
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
|
"This month," "This year." Explore using ``list_filter`` on other types of
|
||||||
fields.
|
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', )
|
search_fields = ('question', )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue