{% load rest_framework %} {% for item in value %}{% if not forloop.first%}, {% endif %}{{item.name}}{% endfor %}