django templating system inheritance issue
- by Suhail
hi, i am having issues with my django templating system, i have a base.html file, which contains the content which will be common on all the web pages of the web site, the base.html file fetches some dynamic content, like the categories and the archives, which are passed to it by a python file, which fetches the categories and the archives data from a mysql database.
the issue when i inherit this base.html file in other html files like index.html:
{% extends "base.html" %}
and when when i call the main index URL for ex: http://mywebsite.com/index/
the index page gets loaded, but the categories and the archives data that should get loaded from the base.html file does not.
what am i doing wrong, please help.