1 2 3 4 5 6 7 8 9 10 11 12 13
{% extends 'base.html' %} {% block content %} <div class=weather-box> {% for item in data %} <div class=daily-box> {{ item.time.strftime("%a %x") }} <br> {{ item.high }}°F / {{ item.low }}°F <br> {{ item.short_forecast_am }} <br><br> </div> {% endfor %} </div> {% endblock %}