Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1510 -- Fixed ReST error in docs/generic_views.txt. Thanks, ak…

…aihola and Andy Dustman

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ae224efd5460bd926f5468b1b07e0efd38a31842 1 parent 7322103
Adrian Holovaty authored March 21, 2006

Showing 1 changed file with 16 additions and 15 deletions. Show diff stats Hide diff stats

  1. 31  docs/generic_views.txt
31  docs/generic_views.txt
@@ -294,21 +294,22 @@ Individual views are:
294 294
 
295 295
     Takes the following optional arguments:
296 296
 
297  
-        =======================  =================================================
298  
-        Argument                 Description
299  
-        =======================  =================================================
300  
-        ``paginate_by``          If set to an integer, the view will paginate
301  
-                                 objects with ``paginate_by`` objects per page.
302  
-                                 The view will expect a ``page`` GET param with
303  
-                                 the (zero-indexed) page number.
304  
-
305  
-        ``allow_empty``          If ``False`` and there are no objects to display,
306  
-                                 the view will raise a 404 instead of displaying
307  
-                                 an empty index page. ``False`` is default.
308  
-        ``template_object_name`` **New in Django development version.** Designates
309  
-                                 the name of the object template variable. Default
310  
-                                 is ``'object'``.
311  
-        =======================  =================================================
  297
+        ========================  =================================================
  298
+        Argument                  Description
  299
+        ========================  =================================================
  300
+        ``paginate_by``           If set to an integer, the view will paginate
  301
+                                  objects with ``paginate_by`` objects per page.
  302
+                                  The view will expect a ``page`` GET param with
  303
+                                  the (zero-indexed) page number.
  304
+
  305
+        ``allow_empty``           If ``False`` and there are no objects to display,
  306
+                                  the view will raise a 404 instead of displaying
  307
+                                  an empty index page. ``False`` is default.
  308
+
  309
+        ``template_object_name``  **New in Django development version.** Designates
  310
+                                  the name of the object template variable. Default
  311
+                                  is ``'object'``.
  312
+        ========================  =================================================
312 313
 
313 314
     Uses the template ``app_label/module_name_list`` by default.
314 315
 

0 notes on commit ae224ef

Please sign in to comment.
Something went wrong with that request. Please try again.