[Answer]-Django only loads base.html

1👍

Your base.html template is missing a corresponding {% block content %}{% endblock content %} and also a closing </body> tag. There’s nowhere for the content in login.html to go.

0👍

Brandon is right.

you can think {%block content %} as a hole in your base.html and the extended file only replace/fill in that hole.

Leave a comment