{% load tags_tags %} {% for tag in object|get_tags %} {{ tag }}{% if not forloop.last %},{% endif %} {% endfor %}