Tuesday, October 11, 2011

Paginator has many Pages, but all are empty?

I have a problem with django.core.paginator.

I have a Page object who's .object_list is [], but at the same time
it's repr() states "Page 1 of 11".

How is that even possible?

Same with page 2, page 3 ,...

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment