I have a small typography related templatetag library that I use on almost every page. Right now I need to load it for each template using
{% load nbsp %}
Is there a way to load it “globally” for all views and templates at once? Putting the load tag into a base template doesn’t work.
There is an
add_to_builtinsmethod indjango.template.loader. Just pass it the name of your templatetags module (as a string).Now
mytagslibis available automatically in any template.