Closed boxed closed 2 years ago
{% extends "base.html" %} {% load static %} <html> <head> <link rel="stylesheet" href="{% static 'weather_tile/style.css' %}" /> </head> <body> <div> {% block page_content %} <h1> Weather </h1> <p1> {{ weather.temperature }} {{ weather.description }} </p1> {% endblock %} </div> </body> </html>
The html, head, body and div in the example above all all thrown away silently.