On Jul 9, 2008, at 8:49 AM, Garland, Ken R wrote:
Getting the following error following the doc examples:Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] onwin32 >>> items = range(1,24) >>> import webhelpers.paginate >>> page2 = webhelpers.paginate.Page(items, page=2, items_per_page=10) >>> page2.pager()
To generate a pager with links to each page, it does use Routes, which means you need to have imported Routes, and setup a Mapper. That should work if you do it in a template in a Pylons app for example.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature