Skip to content

Commit

Permalink
Added paginator classes to top-level namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
nigma committed Jun 8, 2012
1 parent a1737f1 commit 31ea637
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infinite_pagination/__init__.py
@@ -1 +1,3 @@
#-*- coding: utf-8 -*-

from paginator import InfinitePaginator, InfinitePage
2 changes: 2 additions & 0 deletions infinite_pagination/paginator.py
Expand Up @@ -85,3 +85,5 @@ def end_index(self):
return (
(self.number - 1) * self.paginator.per_page + len(self.object_list)
)

__all__ = ["InfinitePaginator", "InfinitePage"]

0 comments on commit 31ea637

Please sign in to comment.