{% if not forloop.first %} {% if forloop.last %}, and {% else %}, {% endif %} {% endif %}