template.html
views.py
 

<!DOCTYPE html>
<html>
<body>

{% for x in cars|dictsort:"year" %}
  <p>{{ x.year }} {{ x.brand }} {{ x.model }}.</p>
{% endfor %}

<p>In views.py you can see what the colors variable looks like.</p>

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