Re: Where can I put code that will get executed when page refreshes

2013-01-23 Thread Pankaj Singh
Hey, You must be using a context variable to fill your `side_menu` block. One reason for failure can be that, context variable is available in template when `ntw.views.index` is called but not available when 'staff.views.index' is called. -- Pankaj Singh http://about.me/psjinx On Tue, Jan 22,

Where can I put code that will get executed when page refreshes

2013-01-22 Thread frocco
I have a index.html template that extends base.html In Index I has: {% block side_menu %} Content {% endblock %} I fill this block from a database table. This only works if I click on the home link. if I click any other link to view, the side-menu is not populated. url(r'^$',