Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added paginator classes to top-level namespace.

  • Loading branch information...
commit 31ea6374ef7b001c00f544f66d4bcd3595924cf5 1 parent a1737f1
@nigma authored
View
2  infinite_pagination/__init__.py
@@ -1 +1,3 @@
#-*- coding: utf-8 -*-
+
+from paginator import InfinitePaginator, InfinitePage
View
2  infinite_pagination/paginator.py
@@ -85,3 +85,5 @@ def end_index(self):
return (
(self.number - 1) * self.paginator.per_page + len(self.object_list)
)
+
+__all__ = ["InfinitePaginator", "InfinitePage"]
Please sign in to comment.
Something went wrong with that request. Please try again.