On Fri, Apr 23, 2010 at 12:36 PM, cd34 <[email protected]> wrote: > Offhand, since upgrading to the latest tip of Mako, .pager() appears > to have started working for me. > > I remember getting the Internal Server Error before, but, I can't > recall whether my backtrace was because of ToscaWidgets or pager, but, > with the pylonshf.py patch, and 0.10rc1, uncommenting one of the > paginator's that broke, has a functional paginator. Maybe my use of > it isn't hitting the code that still has the issue.
This is a different issue. ``Page.pager()`` uses ``Routes.url_for()``, which is not initialized in Pylons 1.0. You would probably get some exception like "Can't generate URL from args". 0.10 is part of Pylons' 0.x series, so ``url_for()`` works there. -- 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 [email protected]. 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.
