summaryrefslogtreecommitdiff
path: root/django/core/paginator.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/paginator.py')
-rw-r--r--django/core/paginator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/paginator.py b/django/core/paginator.py
index f4941cb678..195ad1009e 100644
--- a/django/core/paginator.py
+++ b/django/core/paginator.py
@@ -4,7 +4,7 @@ from math import ceil
class InvalidPage(Exception):
pass
-class ObjectPaginator:
+class ObjectPaginator(object):
"""
This class makes pagination easy. Feed it a QuerySet, plus the number of
objects you want on each page. Then read the hits and pages properties to