> The template snippet which does this is actually pretty simple: > > It’s part of the categor{{ > object.categories.count|pluralize:"y,ies" }} {% for category in > object.categories.all %}<a href="{{ category.get_absolute_url }}">{{ > category.title }}</a>{% if forloop.last %}{% else %}{% ifequal > forloop.revcounter0 1 %} and {% else %}, {% endifequal %} {% endif > %}{% endfor %}.
Of course! When I tried to do this in a forloop in the template I was stuck thinking I had to include the whole author link thing in the forloop.rev test, lord only knows why. This is an excellent solution, and my karmic debt to you and the b-list continues to grow by the day... E --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---