Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated docs to reflect changes in [824]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b8f70f8c94b5e7915f7a6b87b5327375d1d2b790 1 parent eb4f16e
Jacob Kaplan-Moss authored October 10, 2005
2  django/views/generic/list_detail.py
@@ -32,6 +32,8 @@ def object_list(request, app_label, module_name, paginate_by=None, allow_empty=F
32 32
             the previous page
33 33
         pages
34 34
             number of pages, total
  35
+        hits
  36
+            number of objects, total
35 37
     """
36 38
     mod = models.get_module(app_label, module_name)
37 39
     lookup_kwargs = extra_lookup_kwargs.copy()
2  docs/generic_views.txt
@@ -246,6 +246,8 @@ Individual views are:
246 246
             The previous page
247 247
         ``pages``
248 248
             Number of pages total
  249
+        ``hits``
  250
+            Total number of objects
249 251
 
250 252
 ``object_detail``
251 253
     Object detail page. This works like and takes the same arguments as

0 notes on commit b8f70f8

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