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
.
Source:stackexchange.com