jrivero wrote:

> yes! but the previous solution was useful to paginate the result with
> a another templatetag
>
> {% get_comment_list for entry as comment_list reversed %}
> {% paginate comment_list 10 as page using comment_list_page %}
> {% for comment in comment_list_page %}
>   <p>comment.comment</p>
> {% endfor %}
>
> what method use you? generic object-list with a paginated?

I don't paginate comments at all, but if it was necessary, I would
implement pagination of comments using a custom view. That would also be
another reason to get rid of «dirty» `get_comment_list` tag in my
template.
-- 
Happy Hacking.

http://sphinx.net.ru
む


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to