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

{% if 'Banana' in fruits %}
  <h1>Hello</h1>
{% else %}
  <h1>Goodbye</h1>
{% endif %}

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

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