cleanup
[mediagoblin.git] / mediagoblin / tools / pagination.py
index af889abd7e60004244c0d2655007cb45bc1fe2ad..d0f08c9443ae4dd2c7711e2426567ef2b6def8e2 100644 (file)
@@ -25,7 +25,7 @@ PAGINATION_DEFAULT_PER_PAGE = 30
 
 class Pagination(object):
     """
-    Pagination class for mongodb queries.
+    Pagination class for database queries.
 
     Initialization through __init__(self, cursor, page=1, per_page=2),
     get actual data slice through __call__().
@@ -40,7 +40,7 @@ class Pagination(object):
          - page: requested page
          - per_page: number of objects per page
          - cursor: db cursor
-         - jump_to_id: ObjectId, sets the page to the page containing the
+         - jump_to_id: object id, sets the page to the page containing the
            object with id == jump_to_id.
         """
         self.page = page