You should be able to create a get_all method with @expose(inherit=True)
that simply calls the super(MyClass, self).get_all() inside that method you
can then tune the paginator parameters from tg.request.paginators. Simply
changing the paginate_items_per_page property inside that dictionary should
do what you are looking for.


On Tue, Dec 18, 2012 at 12:53 PM, alonn <[email protected]> wrote:

> wandering if I have to specifically override the get_all to do that, or
> can I just pass a some parameter to control the number of items in every
> page
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/H-I2ZrrOwt4J.
> 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?hl=en.
>

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

Reply via email to