Exemple #1
0
    def __init__(self, context, request):

        AdminView.__init__(self, context, request)
        self.cat = self.context.root._catalog

        page_url = paginate.PageURL_WebOb(request)
        current_page = request.params.get('page', 0)
        self.entries = paginate.Page(
            self.catalog_entries(), current_page, url=page_url)
    def __init__(self, context, request):

        AdminView.__init__(self, context, request)