I added a template tag to my application, which I upload in the form located in inc/base.html . This view contains my basic HTML layout. All my other views start with {% extends "inc/base.html" %} .
In one of my views, I want to refer to the template tag, which is loaded into inc/base.html using this code: {% load spb_utils %} . If I try to use template tags inside base.html, it works fine, but if I try it in any other view, these are errors unless I manually add {% load spb_utils %} to the extended view.
Is this behavior intentional? For example, if I extend the template, does Django intentionally load any of the template tags loaded by the 'parent' template? Is there any reasonable way to globally load my tags?
thanks.
source share