I'm new to Django and I need some help with this. So, as you can see in the first page, the page looks distorted mainly because of my base page, which is just my sidenav. anytime I remove {% extends 'tools/base.html' %}, it returns to normal, as seen in the third image.
What might be the cause??
#{% extends 'tools/base.html' %}
1 messages · Page 1 of 1 (latest)
You're fundamentally misunderstanding how template inheritance works, I'm afraid
ohh okay
Extending a template means "use this other template in its entirety, and I will replace some blocks that are defined within it with some content here"
If you use extends, everything else in that template needs to be within {% block foo %} tags
The base template should provide the entire structure, and allow places for child templates to insert content
ohhhh okay okay