1👍
✅
You can use join
:
{% with allbuilding=hira.Building.all %}
<td>{{ allbuilding|join:", " }}</td>
{% endwith %}
Source:stackexchange.com