<pre>{% for member in active_members %}{{loop.index}},{{member.username}},{{member.cn}}
{% endfor %}</pre>