view piecrust/data/linker.py @ 15:dc8a6ff88f37

Fix how the `Paginator` gets the numer of items per page.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 18 Aug 2014 16:51:16 -0700
parents f485ba500df3
children 4fc1d306046b
line wrap: on
line source



class Linker(object):
    def __init__(self, page):
        self.page = page