1
0
mirror of https://github.com/django/django.git synced 2025-10-27 07:36:08 +00:00

Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-06-08 05:00:13 +00:00
parent 5edd1335b2
commit 2abfd5dd58
33 changed files with 63 additions and 64 deletions

View File

@@ -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