{% if users %} {% for user in users %} {{user.username}}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %}