Is there any way to make the following any simpler? It's inside  
another {% for ... %}, so the ugliness is particularly jarring.

{% for t in s.teachers %}
{{ t.userinfo.informal_name }}{% if not forloop.last %}}; {{% endif %}}
{% endfor %}

It's roughly the equivalent of

{{ s.teachers|join:"; " }}

except that I need those extra functions called on each element.

I have to either write my own filter or template, don't I? :-(

Todd

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to