django templating system inheritance issue
        Posted  
        
            by Suhail
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Suhail
        
        
        
        Published on 2010-04-17T14:22:20Z
        Indexed on 
            2010/04/17
            14:23 UTC
        
        
        Read the original article
        Hit count: 356
        
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.
© Stack Overflow or respective owner