Oleksandr Moskalenko schrieb:
> I'm stuck on tg2 1.9.7b1 tg.decorators.paginate. I keep getting a NameError:
> name 'collection' is not defined when trying to set up a @paginate decorator
> where collection is the name of my DBSession.Query object. Also, the
> docstrings for the decorator just mention to use
> ${c.paginators.<name>.pager()} to render pages, so it would be immensely
> helpful if there was more information or example controller/template code to
> show new people how to use it properly.

Can you provide some code?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to