{% for x in loop %}{% ifchanged %}{{ x }}{% endifchanged %}{% endfor %}