Wednesday, October 22, 2014

Re: How do I display list of pages with a ListView object?

I found a solution by writing a custom template tag, passing in the current page and number of pages from page_obj.
Is that an acceptable solution or can this be done without a custom tag?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/01510699-cd13-4ba1-9a64-85709d1a6db0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment