I read "How-To Do Paging on App Engine" and I think it is a complex
approach (low level code).

I would high level code:
query.fetch(1, offset=1001)
.
.
.
On Mar 11, 10:04 pm, Dan Sanderson <dansander...@google.com> wrote:
> http://code.google.com/appengine/articles/paging.html
> -- Dan
>
> On Wed, Mar 11, 2009 at 2:00 PM, Let Delete My Apps <
>
> davide.rogn...@gmail.com> wrote:
>
> > What is the best way for paginating a list of records?
>
> > See "30. Object pagination"
> >http://www.djangoproject.com/documentation/models/pagination/
>
> > >>> from django.core.paginator import Paginator
> > >>> paginator = Paginator(Article.objects.all(), 5)
> > >>> paginator.count
> > 9
> > >>> paginator.num_pages
> > 2
> > >>> paginator.page_range
> > [1, 2]
>
> > --
> >http://pyoohtml.appspot.com/let-delete-my-apps/home
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to