{% extends "base.html" %} {% block "content" %} {% if item %} You got the item {{ item }}. Buy it! {% if item.hasDeposit %} it+deposit! only deposit! {% endif %} {% else %} No item found :( {% endif %} {% endblock %}