sorry about posting twice, I didn't realize the group was moderated, and initially thought my first post did not go through, not a good excuse but thats what happened. Thanks for the pointers to the right spot in the docs
On Tue, Jun 30, 2009 at 3:49 AM, Diez B. Roggisch <[email protected]> wrote: > > jj.galvez schrieb: > > hi, I need help with pagination, > > I created a crud app following the example from the docs (http:// > > > www.turbogears.org/2.0/docs/main/Extensions/Crud/index.html?highlight=crud > ) > > but now I have so many things in my database that they don't all fit > > in a single page and I need pagination, I tried to just add @pageinate > > ('unique_name') as a decorator, but when I call the page nothing shows > > up. Any and all help is appreciated > > Please don't post the same question over just because you didn't get an > answer after 2 hours. > > Also, the pagination is *not* displaying the data. You have to render > the data yourself. > > What it does is to > > > - restrict the returned collection to the page to be shown (e.g. by > applying limits to the sql-query) > > - provide you with a paginator that you can render, take a look at the > documentation: http://turbogears.org/2.0/docs/modules/tgdecorators.html > > > > Diez > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

