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.
- [Answer]-Why is my middleware not setting request attributes on logout?
- [Answer]-Can't install opentok via pip due to "CompressionError: bz2 module is not available"
- [Answer]-Seeking help in designing django models
- [Answer]-Django rest frame getting values from all tables where the PK is referenced as FK
Source:stackexchange.com