[Answered ]-Jinja globals in django – using coffin

2👍

For your library to be loaded, it must be in a standard location, namely where Django expects such libraries:

https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#code-layout

i.e., something like my_app/templatetags/customlib.py.

Leave a comment