jrivero wrote:
> Is possible obtain the comments of django.contrib in reversed order?
>
> In old version:
> {% get_free_comment_list for workgroups.workgroup group.id as
> comment_list reversed %}
>
> But in new version the templatetag not have control of this parameter.
> The method for order is other?
I suppose that you obtain comments to loop over the list, displaying
comments one-by-one on your page. You may use `reversed` keyword in `{%
for %}` tag then, for example:
{% get_comment_list for entry as entry_comments %}
{% for comment in entry_comments reversed %}
<p>comment.comment</p>
{% endfor %}
--
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---