template.html
views.py
 

<!DOCTYPE html>
<html>
<body>

<ul>
  {% for x in members %}
    <li style='background-color:{% cycle 'lightblue' 'pink' 'yellow' 'coral' 'grey' %}'>
      {{ 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/members/testing