Doubt regarding endless pagination

23 views
Skip to first unread message

Swaroop Shankar V

unread,
Apr 2, 2012, 2:42:06 AM4/2/12
to django...@googlegroups.com
Hi All,
This question is regarding a django app called endless pagination. I want to add a '|' in between the pagination numbers so that it will look like
<<Previous 1 | 2 | 3 Next >>

I went through the documents but could not figure out how to do this. If anyone have already implemented something like this please tell me know the method to implement the same. Thank You

Regards,

Swaroop Shankar V

Blackpearl

unread,
Apr 2, 2012, 7:40:24 AM4/2/12
to Django users
You can edit page_link.html for displaying like:
<<Previous 1 | 2 | 3 Next >>

"{{ page.label|safe }} | "

Swaroop Shankar V

unread,
Apr 2, 2012, 3:40:35 PM4/2/12
to django...@googlegroups.com
Thank You, i changed show_pages.html instead of page_link.html. It worked fine. Anyway thanks for pointing out where to change.

Regards,
Swaroop Shankar V




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


Reply all
Reply to author
Forward
0 new messages