#15575: MultipleObjectMixin.paginate_queryset always returns is_paginated=True ---------------------------+--------------------------- Reporter: i.virabyan@… | Owner: nobody Status: new | Milestone: 1.3 Component: Generic views | Version: SVN Keywords: | Triage Stage: Unreviewed Has patch: 1 | ---------------------------+--------------------------- Documentation says:
is_paginated: A boolean representing whether the results are paginated. Specifically ... if the available objects do not span multiple pages. But is_paginated is True even when objects do not span multiple pages. {{{ def paginate_queryset(self, queryset, page_size): ... return (paginator, page, page.object_list, True) }}} As you can see, it always sets the last element of tuple to True, which is value for is_paginated. -- Ticket URL: <http://code.djangoproject.com/ticket/15575> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.