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

<ul>
  {% for x in members %}
    <li style='background-color:{% cycle 'lightblue' 'pink' %}'>
      {{ x.firstname }}
    </li>
  {% endfor %}
</ul>   

<p>In views.py you can see how to import and fetch members from the database.</p>

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