{% if result is defined %} {% for statistic_info in result %} {% for key, value in statistic_info.items() %} {% endfor %}
{{ key }} {{ value }}
{% endfor %} {% else %} Don't panic {% endif %}