Offhand, since upgrading to the latest tip of Mako, .pager() appears
to have started working for me.

        tmpl_context.paginator = paginate.Page(
            databases,
            page=int(request.params.get('page', 1)),
            items_per_page = 40,
        )

${tmpl_context.paginator.pager()}

${tmpl_context.paginator.pager(format='~4~')}

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.

-- 
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.

Reply via email to