Skip to content

Commit

Permalink
removed spaces... heh.
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Florenzano <floguy@gmail.com>
  • Loading branch information
leah authored and ericflo committed Feb 13, 2009
1 parent 4f04eed commit 43c7ea5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pagination/paginator.py
Expand Up @@ -5,10 +5,10 @@ class InfinitePaginator(Paginator):
Paginator designed for cases when it's not important to know how many total pages.
This is useful for any object_list that has no count() method or can be used to
improve performance for MySQL by removing counts.
The orphans parameter has been removed for simplicity and there's a link template string
for creating the links to the next and previous pages.
Class name is pronounced verbally in a deep tone.
'''

Expand Down Expand Up @@ -81,7 +81,7 @@ def end_index(self):
relative to total objects found (hits).
"""
return (self.number - 1) * self.paginator.per_page + len(self.object_list)

'''Bonus methods for creating links'''

def next_link(self):
Expand Down

0 comments on commit 43c7ea5

Please sign in to comment.