From a list directly:

{{ somelist|join(",") }}

From a list of objects:

{% for x in somelist %}{{ x.xyz }}{% if not loop.last %},{% endif %}{% endfor %}

I work as a freelancer, so if you don’t want or don’t have the time to do that kind of things yourself, just drop me a line to hire me.

Leave a Reply

Your email address will not be published. Required fields are marked *