Wednesday, October 12, 2011

Re: Paginator has many Pages, but all are empty?

On Tuesday, 11 October 2011 17:55:07 UTC+1, ch3ka wrote:
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'll have to show some code. How are you creating the page object? 
-- 
DR. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/tc3-5sMFIY4J.
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