Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 jacobian authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  django/views/generic/list_detail.py
  2. +2 −0  docs/generic_views.txt
2  django/views/generic/list_detail.py
View
@@ -32,6 +32,8 @@ def object_list(request, app_label, module_name, paginate_by=None, allow_empty=F
the previous page
pages
number of pages, total
+ hits
+ number of objects, total
"""
mod = models.get_module(app_label, module_name)
lookup_kwargs = extra_lookup_kwargs.copy()
2  docs/generic_views.txt
View
@@ -246,6 +246,8 @@ Individual views are:
The previous page
``pages``
Number of pages total
+ ``hits``
+ Total number of objects
``object_detail``
Object detail page. This works like and takes the same arguments as
Please sign in to comment.
Something went wrong with that request. Please try again.