Paginator is lazy. It loads only needed page. It uses slice
syntax( [:] ) of query set
On 18 дек, 16:26, shabda <[EMAIL PROTECTED]> wrote:
> I am using the paginators(django.core.paginator) as describes
> athttp://www.djangoproject.com/documentation/models/pagination/.
> Are
I am using the paginators(django.core.paginator) as describes at
http://www.djangoproject.com/documentation/models/pagination/ .
Are paginators lazy, like .filter and related method are? If I use
paginator = ObjectPaginator(Article.objects.all(), 5)
and then paginator.get_page(0)
would the first
2 matches
Mail list logo