Here are the changes to webhelpers.paginate I mentioned yesterday, in WebHelpers-0.6-dev.
In answer to another question, there is no WebHelpers 0.4 or 0.5. The latest stable version is 0.3.4. The version bump is apparently to emphasize that it's a major revision. ---------- Forwarded message ---------- From: Christoph Haas <[EMAIL PROTECTED]> Date: Thu, May 1, 2008 at 12:49 PM Subject: Paginate bundle To: Mike Orr <[EMAIL PROTECTED]> Hi, Mike... please find attached my Mercurial bundle of recent changes to the paginate.py module. These are the API changes that should get announced to the mailing list: - The 'current_page' parameter to Page.__init__ is now called 'page'. - The 'page_nr' URL parameter in the URL is now called 'page'. - The 'link_var' argument to Page.pager() is now called 'page_param'. - The 'partial_var' argument to Page.pager() is now called 'partial_param'. - Items on a page are numbered from 1 instead of 0. This has been done to print user-friendly pagers. E.g. "Page 1: Items 0-9" is less user-friendly than "Page 1: Items 1-10". So if anyone uses indices of item numbers they have to substract 1. - [Page numbers still start from 1 as before.] - The module includes a usage example now. I intend to remove my paginate module from PyPi and let paginate.workaround.org link to the webhelpers page btw. --- End forward --- -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---