Re: ObjectPaginator Performance in Busy Sites

2007-08-31 Thread Sebastian Macias
Thanks James. I opened the thread on the django-users list. On Aug 31, 11:57 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/31/07, Sebastian Macias <[EMAIL PROTECTED]> wrote: > > > What I'm concerned about is that Article.objects.all() will return a > > query_set with all of the records.

ObjectPaginator Performance in Busy Sites

2007-08-31 Thread Sebastian Macias
I'm building an app that requires pagination. I looked at the official pagination documentation I found at: http://www.djangoproject.com/documentation/models/pagination/ I followed the tutorial and basically: paginator = ObjectPaginator(Article.objects.all(), 5) is where all the "magic" happens.