[Fixed]-Django extends template issue

1👍

Essy Fix!

In views.py in the apps directory i was rendering the parent file (index.html) so I have now switch to render the child file (info.html) and it now works.

0👍

I would need some more information on your project to know for sure, but I would check to make sure that you are referencing the proper namespace here:

{% extends "home/index.html" %}

For instance if the path is something like templates/home/something/info.html or templates/something/home/info.html this could be the issue.

Leave a comment