I just want to loop through an existing list and make a comma delimited string out of it. Something like this: my_string = \'stuff, stuff, stuff, stuff\'
my_string = \'stuff, stuff, stuff, stuff\'
If you can't just use filter join but need to perform some operations on the array's entry:
{% for entry in array %} User {{ entry.attribute1 }} has id {{ entry.attribute2 }} {% if not loop.last %}, {% endif %} {% endfor %}