Another minor formatting change.
This commit is contained in:
parent
434b322147
commit
dffa0b0983
@ -299,9 +299,10 @@ def setup_gettext(locale):
|
|||||||
|
|
||||||
class Pagination(object):
|
class Pagination(object):
|
||||||
"""
|
"""
|
||||||
Pagination class,
|
Pagination class for mongodb queries.
|
||||||
initialization through __init__(self, cursor, page=1, per_page=2):
|
|
||||||
get actual data slice through __call__()
|
Initialization through __init__(self, cursor, page=1, per_page=2),
|
||||||
|
get actual data slice through __call__().
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, page, cursor, per_page=2):
|
def __init__(self, page, cursor, per_page=2):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user