diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-03-21 15:32:57 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-03-21 15:32:57 +0000 |
| commit | ae224efd5460bd926f5468b1b07e0efd38a31842 (patch) | |
| tree | 75be37c699cb179bb4349e4a1e8a9f02cb06fd51 /docs/generic_views.txt | |
| parent | 732210320a02c11dfa3c41ab133e30b2de1878d4 (diff) | |
Fixed #1510 -- Fixed ReST error in docs/generic_views.txt. Thanks, akaihola and Andy Dustman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/generic_views.txt')
| -rw-r--r-- | docs/generic_views.txt | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt index 30fa78f929..98177d101f 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -294,21 +294,22 @@ Individual views are: Takes the following optional arguments: - ======================= ================================================= - Argument Description - ======================= ================================================= - ``paginate_by`` If set to an integer, the view will paginate - objects with ``paginate_by`` objects per page. - The view will expect a ``page`` GET param with - the (zero-indexed) page number. + ======================== ================================================= + Argument Description + ======================== ================================================= + ``paginate_by`` If set to an integer, the view will paginate + objects with ``paginate_by`` objects per page. + The view will expect a ``page`` GET param with + the (zero-indexed) page number. - ``allow_empty`` If ``False`` and there are no objects to display, - the view will raise a 404 instead of displaying - an empty index page. ``False`` is default. - ``template_object_name`` **New in Django development version.** Designates - the name of the object template variable. Default - is ``'object'``. - ======================= ================================================= + ``allow_empty`` If ``False`` and there are no objects to display, + the view will raise a 404 instead of displaying + an empty index page. ``False`` is default. + + ``template_object_name`` **New in Django development version.** Designates + the name of the object template variable. Default + is ``'object'``. + ======================== ================================================= Uses the template ``app_label/module_name_list`` by default. |
