Get your own Django server Result Size: 625 x 565
template.html
views.py
 
<!DOCTYPE html>
<html>
<body>

{% for x in cars %}
  {% ifchanged x.brand %}
    <h1>{{ x.brand }}:</h1>
  {% endifchanged %}
  <p>{{ x.model }}, {{ x.year }}</p>
{% endfor %}

<p>Check out views.py to see what the cars object look like.</p>

</body>
</html>                  
127.0.0.1:8000/testing