On 7/29/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> 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 %}That's the Django template convention for putting a bunch of text "between" elements, so you don't have to change a thing. If you're interested in coming up with a more terse way of doing that, we'd be happy to take a look at your suggestions! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

