{% for room in rooms %} {{ room.short_name }}{% if not forloop.last %},{% endif %} {% endfor %}