{% for x in loop %}{% ifchanged x.changed %}{{ x.value }}{% else %}A{% endifchanged %}{% endfor %}