summaryrefslogtreecommitdiff
path: root/django/views/generic/list_detail.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-08 05:29:23 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-08 05:29:23 +0000
commit409ed9468fad37a43e453fa1b93ba9e3893a1371 (patch)
tree46c31832a20120deebd6f2369b6025d6736eeecb /django/views/generic/list_detail.py
parenta616b9217408d57650fbb5a3d9e211d9a7f8ac6d (diff)
Fixed #7670 -- Fixed a couple of missed changes from [7865]. Patch from jshaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/views/generic/list_detail.py')
-rw-r--r--django/views/generic/list_detail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/generic/list_detail.py b/django/views/generic/list_detail.py
index 0ad1a2d086..27e36bd960 100644
--- a/django/views/generic/list_detail.py
+++ b/django/views/generic/list_detail.py
@@ -45,7 +45,7 @@ def object_list(request, queryset, paginate_by=None, page=None,
if extra_context is None: extra_context = {}
queryset = queryset._clone()
if paginate_by:
- paginator = QuerySetPaginator(queryset, paginate_by, allow_empty_first_page=allow_empty)
+ paginator = Paginator(queryset, paginate_by, allow_empty_first_page=allow_empty)
if not page:
page = request.GET.get('page', 1)
try: