Pagination templatetags do not fully work for my generic view and I dont quite understand why.
http://pastebin.com/kyS0UciG
Only : {{ paginator.num_pages }} and {{ paginator.page_range }} works.
I noticed that in these methods are a bit different from for example: {{page}} - when you import pagination class it has paginator.Paginator._get_page_range() methods and paginator.Page does not.
I dont really know how to fix that.
--
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/-/VSTO8Xiz6KAJ.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment